This kind of shit is a carbon copy of how the Nazis used claims of people being "against the Aryan race" to deflect criticism of the actions of the Nazis.
I think this is religion being weaponized to support the extreme depravity of an ethno-Fascist ideology, rather than an inherent drive in that religion.
In other words, the problem with Religions is not them having an inherent tendency for this kind of thing, is that they are extremely easy to capture and use to support even the most depraved behaviours, being capable of excusing actions well beyond what most other prepackaged belief systems are able to successfully excuse.
In summary, I don't think Religion is a driver of this kind of shit, I think it's an enabler.