I don't think happened because of evolutionary pressure on tribes as the previous poster claimed. Certainly that's not clear from the evidence. The human genotype was pretty well set by the time all that was happening, which means whatever evolutionary basis exists for "the problem of evil" had already acted, including on all the people living easy (or at least manageable) subsistence lifestyles for centuries previously.