I loved coding, I loved my job, I loved technology. Now I don't. I did care about my job, and I wanted to get the projects done, Im just saying that now I find it hard to care about it and actually get those things done.
I was just relaying my experience to OP - I think you might have taken that part of my comment the wrong way.
I think it's absolutely normal. There are few people who can retain spark about their field for longer than a couple of years (let alone decades). The rest of us is just trying to do a good enough job to make the boss and team happy, and go home.
I’ve had useful conversations with my doctor about similar topics. I’ve been perhaps lucky to have exceptional care, but in my case my doctor was able to identify (and help treat) clinical depression.
Misery may be common, but seeking help shouldn’t be discouraged.