I quit programming and became a photographer and writer. I'd just look everywhere. I've found the key to being happy in a job seems rather unrelated to the work and more related to the work conditions.
Plus, I still get to use programming at my job to do random tasks like code small wordpress plugins and generated some automated HTML. It's a lot more fun than maintaining large codebases for me.
Honestly I could care less about pay, being able to work remote like I previously had was so much better for my mental health and well being.