The problem is men, not religion
Religions are man-made institutions, the control of women was written into many. Some have, to greater or lesser extents, moved on but they're not really two distinct problems.
But if you pretend man's law is a god's law, then it makes dissent much harder for ordinary good people.