I want to thank everyone in advance for reading my post. I hope you can offer me some advice

I'm female and recently turned 31. About 1.5 to 2 years ago my life started to fall apart. I got fired from my very first full-time job out of nowhere, been stuck in an abusive relationship that almost cost me my sanity (luckily, I'm out of it now) and just when I thought it couldn't get worse I got very sick, so I had to move back home. I'm currently still at home, unemployed due to my illnesses and in debt from grad school (banks slowly start to pressure me into paying more than I can handle right now).
Little by little, I'm pulling myself out of this mess... I get all medical help I need (which I'm grateful for) and my family supports me emotionally and also helps with food, clothes and some medical bills. I started seeing a therapist. In a few weeks I'll meet up with a credit counselor to see what I can do.
My big problem is that somehow my age is keeping me stuck and I don't know what to do. Somehow, the illness is a blessing in disguise because it's pointing to a lot of things that have been emotionally affecting me for years and that I had no explanation for. I read a lot, started eating healthy and also my thinking is slowly being transformed. Doctors are convinced that they can help me and I'll be fine in a few months. I should be very grateful and full of willingness to start over. But instead I'm beating myself up for not getting everything checked sooner, for not getting out of this abusive relationship sooner.. I could be in a good place by now if I just acted sooner regarding pretty much everything.
So now I think I screwed myself over by not doing all of that in my mid to late 20's. I ask myself if anybody ever wants to hire a 31 year old and if anybody will ever want to be in a relationship with me now that I'm in my 30's. It takes away so much of my energy because I feel like even though I'll probably be way healthier and happier than I've ever been, it's all downhill from here.
I have no idea where this mindset is coming from. Somehow I think life is only worth it if you're 20. How stupid is this?!
I'm really looking for ways to get rid of these limiting beliefs. My therapist is not of much help, he thinks once I'm back to "real life" (working...) I won't have so much time thinking about my age. I don't feel like it's that easy.
Any comment would be very much appreciated

Thank you!