Men and women are different and have different personalities through evolution. Women typically are less adventurous than men because they have needed to stay home and take care of the kids. That is why they are not good at being entrepreneurs. 
Women have not evolved to build houses as men have done for thousands of years. Hence why they may not be as good at coding or tech related jobs. I'm not saying all women just the median is less.