Even more, don't make work, career, or even skill into your identity. I'm a programmer. I'm good - really good. I take a fair amount of pleasure in making a computer do something that it couldn't before. I don't like it when I go too long without doing that. But that's not who I am. It doesn't threaten my identity when I can't do that for a time.
How do you not have your identity in your work? You have to have it somewhere else. You have to know who you are when you're not at work.
My extension: Generally avoid identity via labels.
I've had introvert friends who hated being socially isolated (from conversations with them) but who refused to be socially active (because they were introverts). A vicious cycle that they can't break out of until they stop trying to be what they believe the label tells them they are. Other labels that are self-selected or imposed by others similarly constrain people and are excellent at leading them to behave in ways they dislike and avoid the things they do like, because they don't fit with their labels.
Breathing right is near magical.
Also I’ll add realise it’s just a job. And avoid Twitter and other places where people portray the barbie doll perfection of their careers or lives.
Also get a non technical hobby or two.
CBT can do wonders on that front but there are many paths.
Sometimes peace is when you embrace chaos.
That exists inside of a larger computation.
It's just there, running.
That's it.