After 12 years of a Catholic education what I saw was that a lot of the priests and nuns are a bit more broken then most people. I was taught by nuns who had little companion when it came to children and while they were not openly hostile to the girls in my high school they did look at them with mild disdain and/or envy. The priest weren't much better and struggled with relating to people outside of their role as a spiritual adviser or leader as they always keep people at arms length. Both had trouble making human connections.
I was a fortunate alter boy it seemed. the priests I helped were quirky oddballs but they were good people. Most played the role of spiritual adviser, and guidance counselor well enough.
The clergy I was around grew at a time when welfare wasn't as much of an option. One of the nuns I knew talked about going to the convent at the age of 13 to escape a terribly abusive home life. This same nun was also an emotional stunned mess who gravitated towards me because I was one of the few that would talk to her outside of class. I remember just feeling sorry for her back then. She disliked the girls in class for some reason and at the age of 70+ had the common sense of a 18 year old fresh out of high school.
The church is good at collecting broken people and giving them a task to do. Combine this with the limited options people had back then when it came to shitty home lives and few if any mental health resources and I could see some pedo fucks getting into the priesthood. Either as a desperate bid to have religion cure them or using the leadership role to gain access to victims.