Religion is a tool that can be used for good or evil but the primary purpose is cohesion. If we judge religion solely on the basis of its adherents Christianity would probably end at the bottom of the list (WWI, WWII, the genocide of the Jews, etc. etc) and perhaps Buddism would appear at the top. Religion itself does not cause evil acts. People choose to use it for their own purposes.