I don’t believe religion is the complete answer to defeating a dystopia. Religion allows individuals the opportunity to feel they can conquer whatever they are up against. If religion is not something that a certain person has believed in from day one, I don’t think it could even help them temporarily.
I do believe religion is an element to overthrowing or fighting against oppression. It’s a component because when someone has faith in something, it helps them feel backed up or confidence to accomplish anything. People believe if something is helping them gain more of an advantage or power then they can conquer anything in their path.