Many Catholic priests are gay, and it’s sort of incentivized. Their view is that being gay doesn’t inherently mean you’re a bad person or going to hell. However, acting on gay sexual urges is a sin. So becoming a priest and being celibate is a convenient out. Also there’s a priest shortage, so turning a blind eye is likely common
There was a 2018 Netflix special as well