Yep, the people who graduated about 3-4 years ago are all making more than I do after more than a decade. It seems like that's just how it works.
The main thing to do IMO is spend time building a network. A recommendation in the right place at the right time can open doors that would otherwise be closed to you.
School is an option, but the opportunity cost has been too high so far for me. Though doing a freelance PhD thesis probably wouldn't hurt.
I have watched that diminish over the last 20 years.
The unspoken secret in programming is that a CS degree basically signals absolutely nothing about programming skill. You can get a 1st in CS and be a rubbish programmer, you can get a chemistry degree and be an amazing one. A lot of CS is utterly irrelevant to programming, and the vast majority of programming skills are not covered by CS degree.
Once you're past 2-3 years experience it stops being relevant, before that it's a way to filter CVs by managers who want to pretend their CS degree wasn't a complete waste of time.
If they're asking for a CS degree for a senior role it's basically advertising they're a clueless company.
If you can accept that you just happen to be born at the wrong time, you will be in a better place mentally than where I was at for a long time. I won’t say it’s easy; it will suck. But it is possible to make it out ok. I luckily had some financial and emotional support from my family to keep me going. I don’t know your situation but hopefully you are able to find support too. I wish you the best of luck.