In his textbook on the psychology of religion, Beit-Hallahmi writes:

What emerges from the research is that most religiously inspired altruism is parochial, limited to in-group members (Bernhard, Fischbacher and Fehr, 2006; Hoffmann, 2013). Hall, Matz, and Wood (2010) concluded that ‚Äúreligious humanitarianism‚ÄĚ is largely directed at in-group members, and Norenzayan and Shariff (2008) stated that religious pro-sociality is primarily in-group altruism. Duriez (2004) and Saraglou (2006) suggested that not only does religiosity fail to reliably predict universal helping behavior but also that it is a mistake to even hold such an expectation. It should be kept in mind that the preference for religious in-group members is found in the case of most sub-identities, such as sex, age, race, and nationality (Fiske and Taylor, 2013). The issue is that religion is sometimes considered an exception.