i believe the asnwer is: collective consciousness
collective consciousness would make members of society feel more united because it tend to give them with one same purpose.
For example, despite the fact that the reason horrible, we could see Nazi Germany as a society that had a solid collective consciousness to make their nation and race become the most superior in the world.