Stalin, Pol Pot etc committed great atrocities in the name of political ideals rather than religious dogma. Religion does a great deal of good and a great deal of bad, as far as I'm concerned that is because members of organised religion are all too human with the capacity for both good and evil deeds that that entails.
Religion is a thing and therefore cannot be prescribed the label of evil which is a personification. People do evil in the name of religion.