The hormone testosterone is associated with a desire for status.
Though many many men are not terribly interested in devoting their lives to accumulating status, power, etc. some self-hating men have used (and continue to use) religion, as they have used war, money, political power etc., to accumulate status and build up their egos. Sadly religion was long one of the most important tools for accumulating money, power, status, etc. --and scriptures were used to consolidate and manipulate that power… Just as we see politicians, business people, religious figures etc. manipulating “the truth” today… Religious scriptures have been one of the most powerful tools for accomplishing this.
Some of the worst sorts are attracted to power… and in the past, and to a lesser extent today, to religious power… Powerful religious men have often seen women as a threat to their personal “spiritual” “achievement” …or as an easy target… and so such people perpetuated negative views about them…or cut them out of religious scriptures or denied/refuted women’s accomplishments to build up their own egos or to make it easy to keep what they saw as necessary vows of celibacy–or or to project their own desires, negative qualities, and self-hatred on an imagined “other.”
This phenomenon may easily be seen across the globe in the tendency to also look down upon, discriminate against, and scapegoat people of different religions/sects/nationalities etc.
This is the reason there are totally contradictory stories, views, and rules about women and other groups in ancient scriptures…which also revere women and advocate love, compassion, kindness and nondiscrimination.
You are certainly wrong about Buddhism --and about Christianity. There has been a great deal of excellent scholarly work on the accomplishment and importance of women in early Christian communities.
In short the scriptures misogynist/andocentric view of women, and refusal to acknowledge women’s spiritual accomplishments etc., has nothing to do with women themselves.
A bit of advice: Don’t use Buddhism to build up your ego or that of other men/monks/Buddhists or whatever.
By doing so you demonstrate no understanding of Buddhism whatsoever… Buddhism is about letting go of the ego (not building it up) and realizing that we are not separate…
If you use Buddhism to look down on others or discriminate against them --whether women, the laity, people of religions or other sects, or whatever-- you are in fact distorting and misusing the Dharma in a manner that will harm yourself and others.