You’re confusing “women who do excel” with “all women”.
Not at all — but apparently I’m coming at the question from a different angle. How do you get the chance to prove yourself in the first place, if people “know” that you’re less likely to be good at the job than another candidate?
You say “all things being equal …” and I suspect that they’re not.