Interesting! I was bought up as a Catholic, taught by nuns I primary school and then by brothers in secondary school. As my mind started to try to make sense of things, I found too many holes in my religious learnings. I asked about this holes only to be told I needed faith in the teachings. My analytical brain lacked faith, and the more I learned of science and physics, the more I strayed from religion. It came to a head in year 8 when a lay science teach taught us the matter and energy cannot be created or destroyed, but only changed in their form. So I asked 'does that mean they have been around forever, and will be around forever?' and the teacher answered yes. A few days later in Religion class, our brother teacher said that only god was eternal, and I couldn't help myself. I explained what we had been taught in science class and asked why we should believe god was eternal. Of course I got no answer.
The result of this was a punch up in the staff room between brothers and lay teachers, and then I was excluded from most classes for the remainder of the year. I was sent to the Parish priest who tried to talk me back onto the path, which I hadn't actually said I had left. I told him I only wanted answers, and he also said I only needed faith. I said to him 'so you've got nothing. You want me to ignore the evidence of science to blindly believe in something I can't see, feel, or touch.' He basically said yes, and immediately gave up on saving me, spending the remainder of the session trying to recruit me to his football team.
At the end of the year I sat down with brother Mathhews, who had been a supporter of mine throughout the year, and he said I was a victim, and did not deserve the treatment I got. He asked me if there was any way I could come back to religion. I told him that I had never said I was going away from religion, I just needed some answers, but the behaviour of the brothers and priests had caused me to question religion. I had come up with the realisation that religion had started with man's inability to accept the finality of life, and through time had been distorted by men into something which justified what they wanted to believe, but none of it had any basis in fact. I wasn't against people believing in something that helped them avoid a terrible truth, so long as it also caused them to respect their fellows, and not use religion to justify hurting others as I had learned from history lessons, and had seen first hand at my school. I heard that a couple of years later, brother Mathhews left the brotherhood and got married.
So the net result was that a Catholic education also made me an atheist.