That's a sweeping generalization that simply isn't true. There are many famous women that have made significant contributions to astronomy, astrophysics, & cosmology. There are also many men that are famous chefs, musicians, & artists.
Some examples:
Caroline Herschel
Carolyn Shoemaker
Margaret Burbridge
See the link below for LOTS more.