Yes, this is very much a result of gender bias and sexist conditioning for both men and women, which leads both of them to have inaccurate self-assessments of their abilities. Gender bias hurts both men and women.
And that's why today 60% of students are women (and raising). But it hurts women too, because they will not find husbands to marry.