To me, religion was used as a necessary form of crowd control for millennia. It was a way of attempting to bring some ethics, morals and consistency into a culture. But, like everything else, it quickly developed a power structure that used its power to stay in power. This is true for almost every religion, except perhaps Buddhism, but even they have had some overzealous gurus.
The more orthodox of all of these religions subjugate women. All the rules and laws were written by men. They favor men, and that remains the driving purpose of the religion. That is why I have so many doubts about the “conservative” members of the Supreme Court, especially the newest member, who seems to be a woman who agrees with her church about such matters.