As an African / Native American who used to be a devout Christian, here is my response. As a child from a highly dysfunctional home and ghetto, Christianity was used to keep me oppressed, but I clung to it because the few positive influences I had - summer camp and my Christian high school - offered me temporary reprieve and the hope to escape to a better life when I became an adult. In my late teens I rebelled against the church because I got tired of being oppressed by bullies. After nearly becoming homeless due to my lack of adult survival skills, I blamed my bad luck on my rebellion and returned to the church. Another reason I returned is because I realized though the church taught a lot of bad things, they teach a lot of good things too.
Inadvertently joining a cult, where they turned their backs on me when I was physically assaulted by a professional criminal, ultimately led to destroying my faith in God altogether. This incident was a replay of what I was forced to endure as a child. I now realize my first rebellion was really against my oppressive authority figures. It is easier to be mad at a Deity that never speaks for Itself than an authority figure who can actually punish you.
Another thing - if no God is going to rescue you, it's up to you to figure out how to rescue yourself. That's the hardest part about being an atheist /agnostic. This has definitely not been a liberating experience!
Women who feel inadequate in themselves find it easier to cling to a religion that makes promises, even if those promises prove to be false.