I did therapy for a little while. I found it kinda helpful I guess. Not sure I got much of anything out of it though.
I think it‘s both. It‘s easy to run from your demons and escape into work. But I agree you need meaningful work. The best is when you find something that gives you purpose and allows you to constantly move out of your comfort zone with small wins. That‘s what builds confidence. This bit by Lex and Levelsio also inspired me to start building software again when I was going through a difficult period https://x.com/levelsio/status/1842106719142346965