Get onto some open source work or ask around to see if there’s any startups you can help for free from which you can learn more up to date tech. Only you can change this situation.
I didn't downvote (I don't think I even have the reputation to do that), but it's probably because you're advocating something that takes more energy but doesn't make the situation any better.
Getting into open source work or working for a startup for free means doing more work for absolutely 0 compensation, some percentage of which will still be drudgery and annoying tech debt, while still wasting 40 hours a week doing something the OP hates. The chances are almost 0 that this helps the OP in any way.
Putting that same energy towards getting a new job or learning - which could involve some amount of open source work but isn't pointlessly pouring time down the drain for someone else's benefit - or therapy or exercise or almost anything else, is more likely to be beneficial.
Getting into open source work or working for a startup for free means doing more work for absolutely 0 compensation, some percentage of which will still be drudgery and annoying tech debt, while still wasting 40 hours a week doing something the OP hates. The chances are almost 0 that this helps the OP in any way.
Putting that same energy towards getting a new job or learning - which could involve some amount of open source work but isn't pointlessly pouring time down the drain for someone else's benefit - or therapy or exercise or almost anything else, is more likely to be beneficial.