Religion acts as a mechanism for perpetuating and giving social acceptability to certain kinds of bigotry. If it didn’t exist, it’d be much more difficult to justify that kind of bigotry.
Institutionalized Othering, literally. This is my in group and we spend every Sunday morning talking about everybody else. Sometimes with extra separate classes for the children.