(The below will be assuming software developer since you followed up talking about coders).
In the US at least, there's an additional catch 22 because of salary. The average software engineer salary is super high, historically (at least in my experience) because it was compensating people for being oncall, for working off hours, for doing a mad dash to make deadlines in waterfall projects, for being understaffed, for needing to do continual education in your own time, etc.
Now that these super high salaries are the norm and you can't hire anyone with experience without such salaries, companies end up expecting the world from them. Other professions that have similar salary ranges (certain part of finance, law, health, etc) also do.
If salaries were more in line with other type of work (at least in the low end. Nothing wrong with having a wide range), it would be a bit less crazy for someone to work 9/5 and call it a day.
Now that these super high salaries are the norm
and you can't hire anyone with experience without
such salaries, companies end up expecting the world
from them. Other professions that have similar salary
ranges (certain part of finance, law, health, etc) also do.
I honestly wish we could perform the labor version of a stock split and double the number of software engineering jobs and the number of qualified foks while halving the salaries.I would gladly do my current job for half of what I'm making now if I could work reduced hours.
But no, it's the software industry. The options are generally "unemployment" or "make a bunch of money and work unhealthy hours until you want to die, and then get promoted and work even more" with nothing inbetween. There are exceptions to those norms, but the norms are the norm.
In my experience, this is the source of our trouble: we want a middle class life. We want Netflix and a TV subscription and the fastest internet service, we want two cars for our families, we want to be able to eat at restaurants once or twice a month, we want to just buy a new thing if the old one breaks instead of fixing it, we want our house to look the best on the inside and out, we want to take an exotic vacation almost every year.
These are living outside of our means. We can afford these things, but at significant cost to our mental health, to our family and societal obligations, in a word, to our happiness and joy in this life.
I'm convinced that a significant number of us should start living like we're poor, getting rid of all those aforementioned things that have enslaved us, and we'll be significantly happier in life, finally see a way out of our insurmountable debt, finally have the free time we need to do this or that chore we accidentally put off for a few years straight, finally have time to read to our children every single night without the guilt we feel over not using that time to work.
Some people might say that this is typical entitlement mentality. But it still boggles our mind.
I, for one, resolved a long time ago never to work in a union environment.
Us engineers are often too hard on each other while silently accepting abuse from above.