Some people think that religion is an adaptation evolved both by cultural and biological evolution to make groups to cohere, in part for the purpose of trusting each other, and then being more effective at competing with other groups.