Of course, he knew what he was getting paid and it's not difficult these days to get a sense of cost of living for anywhere in world so he must have know what he was getting into.
I got back from Copenhagen recently and while food and drink are both insanely expensive, the rent was considerably less than where I live currently, but the salaries were relatively similar.
People "live comfortably" on dirt floors in many parts of the world. That doesn't mean such a restriction on financial freedom is appropriate for everyone.
Your Danish home is going to be smaller, you're not going to drive a giant car, but in return you have excellent access to public transport, years of income guarantee should you lose your job, your kids and you have universal access to healthcare and education regardless where you are on the social strata and so forth. If that's a definition of comfort you like, then Denmark is for you. If you don't, you're better off somewhere else. Rest assured, nobody in Denmark is living in a hut.
https://www.sciencedirect.com/science/article/pii/S016885101...
and some of the highest physician density in the developed world. I'm German and have worked in Denmark, and have never experienced waiting times.
Describing it as unaffordable sounds a bit off to me when there are people living comfortably on half what he earned (assuming he wasn’t being massively underpaid).
If he wanted a garage full of Tesla’s in his city centre garage, then yeah, it’s unaffordable.