The problem isn't religion, not inherently, it's the people who use religion to galvanize hoi polloi into such treachery. You remove religion from history then people with power would have found some other boondoggle to trick the weak minded into committing their atrocities for them in order to further their agendas.