I’ll give you the Khmer Rouge as the exception that proves the ruleAt the risk of breaking Godwin's Law, the Soviets, Khmer Rouger & Nazi's (as well as revolutionary France) kind of did that, and they were for the most part atheistic.
In fairness, the 30 years war was mostly over religion (a long with a few other geo-political matters)