That's fine. They're 28. I also wrote a lot of code in my 20s and was pretty happy.
Turned out that I only enjoyed writing so much code because I hadn't discovered things that would ultimately be more fulfilling to me, like developing a real social life and meeting better women. And once I developed a better balance because of that, I also discovered I liked to write, go on runs, listen to audiobooks, cooking, live on a beach, surfing, idk—all sorts of things.
It's just the ebb and flow of life and self discovery. They're at the age where these things started to change for me. But it's a good sign that they are trying to convince themself with this sort of post—the crack is forming. ;)