This article hypothesizes that ritual ecstasy was selected for as a way for hunter-gatherers to cope with resource uncertainty by unifying separate groups. Results support this hypothesis and suggest a relationship between resource stress and deities as well as dependence on animals and presence of zoomorphic deities.