Here's the simple formula:
(1) Identify with a group of people. It doesn't matter what sort of group we're talking about here; the principle's the same whether we're talking ethnic, religious, political, hobby club, I could go on and on.
(2) Thus identified, and having no predilection toward cultivating a genuine "mind of your own", do as you were thoroughly instructed in the US Public Education System: *embody* the belief system of your group.
(3) In order to compensate for the utter lack of genuine personal fulfillment to be found in following steps (1) and (2) above, elevate your adrenaline levels by harboring negative emotions toward any humans who appear to be in opposition to "your group". It's called The False Security of Clan Identity. Doesn't Righteous Wrath feel S-o-o-o G-o-o-o-o-o-o-d?!
(4) Utterly refuse to consider any and all elements of truth that may lie in the positions of your newly declared enemies (see (3) above). This, by the way, is an excellent means further to stultify your free-thinking abilities.
(5) Ascribe fictional motives to your imagined enemies EVERY CHANCE YOU GET; after all, one must persevere in firmifying one's noodly nothings ... right?!
(6) Congratulations! You've just succumbed to Divide And Conquer. Enjoy the tasty Kool-Aid.