I think it's always been there. At least since the agricultural revolution and hereditary laws led to the control of women's bodies.
Also, you can't define yourself as a man based on being superiority and being a good thing without defining the other as less than and worthy of contempt.