Stalin and Mao may have been atheists, but are you claiming that their atheism systematically influenced them to commit their atrocities in the name of atheism? Hitler and Stalin has mustaches. So did Saddam. Using your logic I can conclude that mustaches must lead to genocide.