That is what theocracies do. Secular Govts find secular excuses to do the same. IE: "The only good communist is a dead communist."<quoted text>
Whoever wrote their views concerning religion, it was still simply their views ... but one thing you will notice ... no matter which ancient religion, the theologians always took the holy stuff for their selves and pointed outward at negativity that they often termed as "evil."
It gave them the rights to torture and kill others.
Sometimes Secular Govts use theological excuses like Reagan refering to the USSR as the "Evil Empire".