Someone please correct me if I am mistaken, but I believe I have understood here why it is said men are superior to women, despite many holy women existing and doing marvellous deeds for Heaven.
Men are superior by nature, but not by grace. It is by grace that women may be elevated, but not by nature.
Some examples. Our Lady was elevated by grace above all the angels, despite her nature in itself being inferior.
St. Mary Magdalene, by grace was more brave than St. Peter, remaining loyal to her divine Master unto the end.
All the prominent women of history have had the grace of God in their hearts. I cannot think of any women who have done anything for civilization or the glory of God, without being in the state of grace.