Lunatics will be lunatics.
Some of them attach themselves to a religion as a cause.
Their religion is not the source of their lunacy.
If religion didn’t exist they would attach themselves to some other cause.
It is the job of the non-lunatic to investigate the psychological origins of their lunacy, to clean up after them, and (sorry about this) to keep calm and carry on.