Repeat after me, correlation does not imply causation. While misogyny is not a cultural value to be perpetuated, it's not quite that simple. There have been serious discussions about the subject recently here on HN, and one thing I've learned that is a big part of the "women in tech" equation is that a large proportion of women find other work more enjoyable and remunerative than tech or engineering.