Stalin was an atheist and Osama bin Laden is a believer both caused endless miseries to man kind. Neither shall go into history of mankind as great people.
The issue is about wickedness of man. The greed for power. This greed can disguise itself as anything either theist or atheist.
Aurangzeb had a lust for power but his brother Dara Shikoh didn't.
Lust for Power can make one do anything. Excuses are available a dime a dozen.
And some one was raising the issue of Religion and peace, remember Iranis and Iraqis both believe in GOD but fought each other mercilessly for 9 years.
And during the world war most of the countries fighting each other were Christians yet it didn't stop World War 1 and World War 2.
Lust for power and Sex can invent excuses.
Americans are Atheist largely and so were the Communists but remember the cold war. Atheism as a common sentiment was useless there.
Pakistan and Bangladesh war was another example where Muslims fight each other.
United Kingdom and Northern Ireland both are Christians but that has not stopped them from hostilities against each other.
Theism hasn't Solved problems neither has Atheism.
Lust for Power is the root of such problems everything else an excuse.