This is a bit ranty, but I'm just trying to say you don't have to think you're stuck forever...
At age 40, I got my first coding job. I was over 200K in debt w/ no savings, no retirement, feeling quite trapped, and perpetually single. Now I'm 47, I'm debt free, have a 70k emergency fund, 114K in investments, and about 100 in retirement, I'm not feeling trapped, and I am dating a lot. Right now my biggest problem is figuring out what kind of woman is my type.
Here's the thing:
Good luck. You can change your situation if you want to. All it takes is believe you can & then taking action.