20 years ago I was in the same place as you but with Enterprise Java.
I stuck with simpler environments where my ability to write and test code worked and code bases could be kept simpler.
You can consider switching to “backend” programming, manipulate data and databases with python. Build APIs with Ruby on Rails. Help business automat some software workflows with Autohotkey.
There are a million niches in software, try another.