It depends on the person and on the god(s). I'm an atheist in this world, and if I were to be isekai'd to a world that very definitely had gods, but they sat around and did nothing while the world suffered or even worse demanded sacrifices, I'd probably upgrade my "crimes" from apostasy to deicide.