The retirement bit seems more like an American-centric thing. I've worked on various projects involving American and European companies, and to be honest the European workers seem much more content with their work-life.
I can only assume that it is because of stronger labor laws, more relaxed work/life balance, etc.
Some of my American (contractor) colleagues would work like dogs for 6 days a week, often from early in the morning to late in the night - depending on the status of the project. It was the first time I observed actual burnout in people, and how visibly it changes people and their personalities.
In any case - most of them, especially those over 40, would often discuss their big plans: Only work 5-10 more years, then retire, and live life.
If 50-60 hour weeks, all year round, is any good indicator of American SWE life - I can understand why devs. are daydreaming about retirement.