We account for extra benefits that arise from interacting with a member of the same culture ('cultural boosts') and for mutual gains from cooperative activities ('public goods'). In environments where one person gains at another's expense, violence decreases ethnocentrism