Stop working from home, go to the office and socialise. Stop comparing yourself to Netflix $900k jobs. Take holidays. Stop side hustling some SaaS app that will never go anywhere.
Get a hobby that isn’t focused on making money. HN isn’t the real world.
Software development has huge levels of team work and social interaction baked in. And the positions where you don't have that happen to be the ones where no one knows how fast you actually work.
Frequent breaks, knee pads, using a proper respirator, other ppe? Knee pads make a huge difference for me, at least, and a back brace to encourage proper form when lifting, if I'm doing something that involves a lot of weight.
You don’t have to do this and let yourself degrade. Many engineers I know including myself don’t. You have to prioritize your health and there is definitely room to work on software and stay healthy if you make it a priority. The first step is not to work for a hellish company that wants you slugging away 80+ hours a week.
It's not exactly a skill they teach you at college. Once you understand concept of work-life balance by yourself it's a bit late and takes huge effort to recover.