Agreed. I've been building software for 25 years+.
At some point I became so burnt out I couldn't look at an IDE or coloured text for that matter.
I found the way back by just changing my motto and focus... Find good people, do good work. That's it, that's all I want.
I don't care whether the 'property is hot' or what the market is doing anymore, I just build software in my lane, with good people around.