I know many who made it a life long career. It will see me through to retirement as I still love coding as much as I first learned it 35 years ago. I guess your experience is maybe in another part of the world; many of my eu colleagues and even most of my chinese collagues do not really have those experiences: we make (far) more than plumbers, do not get called out to fix things outside hours and do not have that insane feeling about our jobs. I only get that dreaded feeling reading HN or Reddit about how people need to take uppers to stay awake and have no weekends or vacations, or about the latest language or framework we
have to use now (I actually try them all, but that is more of a hobby). But then I get back to work on stable dev stuff we have used for 10+ years and it is all good. In the C/ASM but even C# world, very little changes and you basically do not have to ‘keep up’ if you do not want to (I do, but again, this is also my hobby). Newer things hardly ever help with productivity. And a lot of new things (like daily standups) really are counter productive imho.
Another anecdotal point; we are rolling a new app; the lead tech is 64 y/o and uses React Native and Node (different company than the above so different tech choices; not my choice). He does the app and the API almost all by himself (I do code reviews on them). He gets paid well, works from home and is fast.