Even if you eradicated the world of religion, it still wouldn't change anything other than the reason for the war. Remember that Kim Jong Il, Lenin, Stalin, Mao etc were all atheists. Millions died because of them.
Man will kill for whatever reason be it power, money, greed, hatred etc. Unless you address the cause you'll never stop war.