And common enemies make friendships grow stronger. One study found that people are more likely to bond over a shared dislike – rather than a shared fondness – of a third party. Denigrating an enemy can also boost our self-esteem by making us and the groups we identify with seem better in comparison.
https://www.psychologytoday.com/us/blog/words-matter/201812/do-we-need-common-enemy