they don't really talk about that level of good or bad to a kid. They teach tolerance, and introspection (another word for prayer or meditation)
I stopped going after high school (cause it was catholic hs) - there was a scandal, not of the sex kind, then all the stuff. But i do think it helps
parents have another voice. And i felt like a hypocrite, because of teachings you referenced.
church is also a community - someone from church would have your back, and coordinate if some assistance was needed. Before being able to call a family
member that lives half way across the country, you depended on your neighbor - which was probably your family member.
It can actually be argued that we have a genetic propensity to create these groups of people. Cause the loners don't survive well.
(read some E. O. Wilson on this stuff - very interesting. why the snake is generally feared, why we are afraid of the dark, esp as a child)