It's also important to note that these are not democracies. The state frequently does things that people aren't entirely happy with, it's only when the people (or religious leaders!) become sufficiently unhappy that it becomes a problem.
That's not similar to Kuwait, a country that has a recent history of being taken over by its largest neighbor and saved by the US
I'm certainly not religious, but it feels rather cynical to make fun of this.
We look for these shortcuts all the time because we're meant to interact with much smaller groups of people than we do on a societal scale now. For most of human history the average person was born, lived, and died within the same community of maybe a couple hundred people at most. This thing where the average person lives in metro areas of millions and can do business with people on a completely different continent is really new and we're trying to find methods for figuring out who is and isn't trustworthy. Most fail, and you can throw "in group vs out group" in the failure pile.
Any sort of shortcut to "this person is an ally and/or worthy of my trust" based primarily on race, religion, nationality, etc. is a very good way to set yourself up for exploitation. You see it all the time. Televangelists scam money out of people's pockets by the same mechanism. A "good Christian" man is asking for your donation after giving you the Almighty's blessings.
You also see it in criminal organizations that tend to group themselves by ethnicity like the American La Cosa Nostra, where you have to be full-blooded Italian to be a made man. The people considering your induction into the further depths of the criminal organization won't let you join if you're not full-blooded Italian, because that's the "in group", but the "out group" of everyone else is less likely to kill you in that lifestyle than the members of the "in group".
Oh yeah, it's a superpower in-practice actually. Alhamdulilah!
Which, of course, could be massively different from what he actually believes, and who's to say any of his beliefs result in actions of a good person.