Related, I think this is also the mechanism for how religion tends to stabilize societies/give them cohesion. Rather than having an eventual positive feedback loop of division, the division is placed between some type of "good" and "evil" rather than your neighbor. The "us vs them" division that switch craves is put on something more metaphysical (and sometimes a net benefit, like defining evil as behavior destructive to societies).