I saw what divorce did to my mum financially (who was forced to give up work when she got married, and had left school with no qualifications) and was determined that I would never be reliant on a man for money.
That drove me to prioritise my career from an early stage and through a decent amount of luck and some hard work I’ve always earned more than DH. Mostly I have made what have been, with hindsight, good career choices that have led me to a highly paid role.
When childcare became an issue, it was DH who took a step back for over a decade for the same reasons many women do - he was the lower earner and it made no sense for it to be me. He’s now back in a reasonably well paid role.
Whether it is societal conditioning or maternal instinct or something else, many women simply don’t prioritise their career while men do. Women go part time and take responsibility for nursery drop off/pick ups while their DH changes nothing (or from watching men I’ve worked with, start working longer hours to avoid being at home for bedtime!). DH and I both worked 4 day weeks before he stepped back, and he worked from home so was on drop off duty. There’s nothing wrong with women doing that, but it shouldn’t surprise anyone when they then earn less, have less in their pension etc.
But the real problem is, I think, the idea that having two adults out of the house all day is a recipe for happiness once kids come along. It isn’t, even now my kids are teens family life is easier because I’m fully remote - if I had to commute each day like before Covid then DH likely wouldn’t have gone back to work. Someone usually has to take a step back, and it would be great if more men did it, but they would suffer the same penalty women currently do.