@Bluelilacbella
You’re slightly misquoting. Moat people don’t regret having had worked, but many people at the end of their lives do regret having spent too much time at work and missing out on other aspects of life.
It's always said that people say this. Neither of my parents said this on their deathbeds. My dad died after a long, successful career that he passionately loved and which supported our family. My mum died very bitter about not having managed to get a previously successful career on track after having children.
I just think its one of these little homilies people trot out without thinking about it and it doesn't really stand up to scrutiny.
If someone had worked less or not worked at all their family would have less money, less stability. Saying you wish you had less money in return for having had a couple of extra years at home with their kids when they were toddlers is ridiculous. And as for "missing out on other aspects of life": you're far more likely to miss out on things as a result of not having any money to spend on yourself than you are by having a rewarding career that enables you and your family to do things you enjoy.
I suppose it could be said by an extreme workaholic who had chosen not to have children at all because they wanted to focus on work and then later realised they'd missed out on having a family.
But this isn't what we're talking about. We're talking about women who already have children choosing to work, in most cases supplementing a man's income, to enhance the family's finances and to shore up their own employability. Or because they actually need to work.
If, on your deathbed, you "regret" having helped support your family, that would be a bit of a headscratcher.