I have found myself with a similar issue. Haven't been in the industry for too long (been working for over 3 years), but the constant shitshow that is FE development is really taking a toll on me. No matter what you do, people keep changing things, sometimes for the better, other times for no particular reason other than to work on new shiny things. If what I am writing right now will be thrown out soon or rewritten anyway, then why bother? Same goes for some BE stuff, Go language seems to be the new hip thing to do stuff in, repeating the cycle once more.
I have begun trying to find things I truly care about as a countermeasure to this fatigue, so far it seems to be moving in the direction of just helping with repairing and refurbishing used computer hardware. I know how to do it for my own purposes, it's less mentally taxing, you get to save useful stuff from going to the landfill and you will also help cut down on consumption. It probably helps that the results are immediate (broken device -> working device), but going this route will have a minuscule impact also on a larger scale.