You’re describing the reason I wanted to transition into developer management for so long - to be in a position to have the conversations that will prevent the type of environments that create burnout.
So far, it’s working but it’s not as easy at it should be. I do work for a company where I legitimately care about the mission, the company and it’s impact but I get most of my sense of purpose from taking care of my team.
I did that for a couple of years and it didn't work for me. I ended up quitting after a couple of years out of frustration. In part because big decisions were taken unilaterally without consulting other departments outside of management and sales so I couldn't really protect my team.
So far, it’s working but it’s not as easy at it should be. I do work for a company where I legitimately care about the mission, the company and it’s impact but I get most of my sense of purpose from taking care of my team.