I agree with you. An example of how bad things can get, we can look at ISIS. people governing a with religious rules will never go any good, mostly because religious rules were created a very long time ago for a completely different world.
Religion is not the source of evil, either in individuals or in governments. Evil is in people's hearts. Sometimes it is expressed via religious action, unfortunately. But the two should not be conflated.
Havelock Vetinari