The so atheist states that you mention, were killing people becasue of there deeply held religious beliefs. Hitler exterminating the Jews, what was that? He did that because he hated Jewish people.
Hitler hated Jews for racial reasons, not religious. He made that quite clear in Mein Kampf, and also by his policy of murdering non-practicing Jews and even those who had ‘too much’ Jewish blood....