2. While there, consider if burnout is partially your subconscious telling you something. A lot of people, myself included, have gone through phases where we later realized that the joy in learning how technology is made has faded and the mission that we're attached to doesn't actually align with what we actually want to do. Sometimes it's ok to quit a six digit position and take a five digit one if it means it fulfils some longing in our life, like help a friend, help the poor, or safeguard the world in some way.
3. See if there are aspects of your life that you may, deep down, want to change but that you're avoiding changing. For me, it was excitement. Note that these are different than mission in that they're self or at least family directed. Be clear eyed about the risks, because ultimately you are responsible for the choices you make, but don't be so cautious as to be cowardly. If you want to fire a gun at bad guys, first understand that they may fire back, but ultimately if you still think it is the best call, to not do so is cowardice.
4. If nothing above works, just start helping the least fortunate. It has a double effect of reminding yourself, viscerally, just how bad it can get[0] while also providing your mind with a sense of community and purpose.
[0] I met a former programmer at a soup kitchen who just had a run of bad health and life issues.