If the gods evolve (culturally) to condemn selfish and divisive behaviors, they can then be used to promote cooperation and trust within the group. [...] Creating gods who can see everything, and who hate cheaters and oath breakers, turns out to be a good way to reduce cheating and oath breaking.