Despite 12 years of Catholic school, I became free of my religious affliction at about the same time as I discovered that I could, um, bring myself sexual pleasure while alone.
The obviously perverted Catholic priest teaching our high school religion class informed us that we'd burn in hell for all eternity if we reached orgasm while not having sex with an opposite gender Catholic wife. This made it crystal clear to me that the Church was seeking to use human sexuality as a yoke to control my entire life.
This started a lifelong search for any evidence of an Imaginary Bearded Sky Daddy, which obviously failed to find anything except idiotic circular reasoning based on unsupported assertions.
I may have briefly passed through a phase of agnosticism, much as I once thought I might be bisexual. It was a transition for me.
The same pervo priest once told our class of horny teenage boys that if we were not sexually attracted to girls it might mean that we had "a calling to the priesthood." I doubt if anyone in the class failed to realize it was an attempt to recruit unfortunately repressed latent homosexuals into a sickening and self-destructive Lifestyle Choice of bigotry, homophobia and self-denial.
By the time I graduated from Bishop Shanahan High School I was firmly entrenched in my atheism and I refused to attend the Jeebus-centric religious graduation ceremony.
Perhaps I became an atheist because of 12 years of Catholic school, not despite it.
Today, many decades later, I am militantly atheistic and have an incalculably enormous contempt for organized religions. My contempt for religion continues to grow exponentially as my beloved native country slides headlong into a homophobic, woman-hating theocratic empire.