Mystery wire

So I found an outside light and am working on rewiring it and have this wire that goes to nothing was a grounding wire or something it has no insulation. Any idea what it was for?

So I found an outside light and am working on rewiring it and have this wire that goes to nothing was a grounding wire or something it has no insulation. Any idea what it was for?