When a software engineer burns out he or she always identifies the same set of problems: I don’t like my job anymore, I can’t code anymore, but there’s nothing else I can do. I will never be able to make the same amount of money doing something else.
To me, it’s a lifestyle issue. Coding has nothing special to it. It is something that a machine can do a million time better and faster than us, humans. Also, you don’t want to lose your salary as a developer because you’ve probably set up your lifestyle around that kind of money. Most of us go even beyond that, by getting into debts. That’s the real problem in my opinion. Your job is what keeps your current lifestyle up and running. You put all your eggs into one basket like most of us do. Life is too short, you shouldn’t put work in the center of your life. Are you a software developer? Yeah? Well, stop putting yourself into that bucket. “Yeah but it pays the bills”... what bills? who set up the bills? You or your work? You should try to disconnect your lifestyle as much as possible from your day to day job. It has to become “loosely coupled”. Does it sound familiar? ;) At the end of the day, a normal job is a dollar amount (or whatever currency you use) and you are in charge of setting up that amount.
Make it as low as possible and reprioritize things in your life. The ultimate thing you can do in life is to live for free... why? Because you could be free like a bird and do anything you want. It’s technically impossible, but your mission in life is to get as close as possible. Good luck.