Iam always surprised by people who because they did not like religion at school, or do not like the current minister, see that as a reason for giving up on religion. Surely loosing your belief, is a deep and serious thing, and is a decision that requires far more motivation like not liking the nums or the minister at your church.
I, like many others am of Irish catholic stock and went to many schools, most of them catholic, and was taught by some not very pleasant nuns. But I could always see the difference between them and what the religion they professed.
By the time I was 5, as a result of going to church regularly I understood that everyone was equal in the sight of God and that we were all sinners and I took that to mean, everyone is equal and none of us was perfect, so I understood that ,even adults, even my parents, did or said or acted in ways that were wrong or at least other than they should be.
These two beliefs have been the bedrock of all my moral values throughout my life and although my parents never said anything on the subject, I can see that both lived their lives on the same principles.
This has given me a sense of loyalty to my religion and I still profess it, but professing a religion, does not mean that you accept everything it teaches, anymore than if you join a political party you accept absolutely everything it stands for and every policy it proclaims.