All religions teach superiority. At best the liberals in them may accept others as being good too, but still buy into a social pecking order that puts them on top.
The evolutionary reason is that humans would not have evolved in the same way without cooperation. When a group cooperates it provides more opportunity for resources and ability to produce offspring. The sense of control over your environment is what is going on. Religions are invented by humans because of gap filling and flawed perceptions, that do create groups that provide social order.
The ancient Egyptians were successful for 3,000 years centering their social order around false polytheistic god claims that were not true.
The evolutionary reason is that humans would not have evolved in the same way without cooperation. When a group cooperates it provides more opportunity for resources and ability to produce offspring. The sense of control over your environment is what is going on. Religions are invented by humans because of gap filling and flawed perceptions, that do create groups that provide social order.
The ancient Egyptians were successful for 3,000 years centering their social order around false polytheistic god claims that were not true.