You're getting religion mixed up with technology and opportunity.
There's been plenty of violence, war, and extremism in the name of Buddha and Confucius. They absolutely can be used to justify genocide, just look at Myanmar. It's very difficult to find a major religion that has never produced fanatical sociopaths.