Another thing is culture. The in the company's where I've worked at, how the men talked about women was pretty off-putting to be honest. They didn't do it in front of women (obviously), but even your nerdy developers would drop comments that had me wondering whether I was really in the ckrrect field. I'm sure the women in those places notice that even if it's behind their backs.
That's for a myriad of reasons, but the main one being that men gravitate to tech more, so even if they're not a huge talent they still might choose a career in tech, whereas women might prefer a different career unless they have a very strong calling.
Every human being, man or woman, has unique challenges. Classifying these challenges by sex ignores the vast and more important majority of an individual's fitness for one career or another, or lack there of.
More than just encouraging your daughter to study tech or any other career (tech might be saturated), encourage them to learn how to interview aggressively, and how to ask for raises. Encourage them to be fearless.
And do the same for your sons.
And many people get heaped additional challenges by virtue of their birth group - challenges that are commonly supplied by people whose birth group started at the lowest difficulty level.
Everyone has countless reasons to fail. Sex is by far among the smallest of those reasons.
By smallest you mean over 50% of the population.
Giving everyone a dollar is the same as giving no one a dollar. -Econ 101
Compare that with say, severe anxiety, inability to take tests, low IQ. Or even just lack of interview experience, and never asking for a raise.
These last two dramatically affect income and are true of a strikingly large number of women compared with men.[1]
Is it possible that women aren't asking for raises because everyone keeps telling them that they need "special" help (implied inferiority)? That they won't get raises, so why bother?
I think it's a factor. I think your argument, while well intentioned, might be causal in preventing women's success.
[1] https://www.weforum.org/agenda/2018/04/women-are-still-not-a...