My deconversion from Roman Catholicism to agnosticism to atheism took about ten years of comparative religious study and a lot of deep introspection. When I eventually came out as an atheist, it was with a deep sense of emancipation and all those years of effort finally coming to fruition.
"The world is my country; all of humanity are my brethren; and to do good deeds is my religion." (Thomas Paine)