Look, I'm the last person to make excuses for the Catholic Church (I'm guessing that's what you were referring to), but the sins of the Catholic Church, which is a specific instance of a religion, do not tar religion as a whole. That's not how logic works. You have to show that A) sexual abuse of children is common in a significant portion of religious organizations, and B) that it's actually due to the religious part of the term 'religious organization' and not the organization part of the term. And I think you'd have a hell of a time making that case, since there are plenty of other organizations that also have issues with sexual abuse of children. Namely, any organization in which adults have regular, privileged access to children. For instance, US Gymnastics, Boy Scouts, Penn State Football, etc.
And religions are not the only human affinity groups responsible for other atrocities. Ethnicities have lead to genocide on several occasions. And so have political ideologies.
And religions are not the only human affinity groups responsible for other atrocities. Ethnicities have lead to genocide on several occasions. And so have political ideologies.