Blind obedience is a sure sign of trouble. The likelihood of religion becoming evil is greatly diminished when there is freedom for individual thinking and when honest inquiry is encouraged.
Science can have a purifying effect on religion, freeing it from beliefs of a pre-scientific age and helping us to a truer conception of God. At the same time, I am far from believing that science will ever give us the answers to all our questions.