You do not say how, what, or why your religion has done to help you and you make a broad sweeping statement that some thing (a god) will magically solve mental illness. If anything this sort of crap will prolong suffering, and or exacerbate the problems associated with mental illness because it's not a solution or treatment.
Tangentially (off topic), I'd argue you were never truly an atheist if you could be "converted." There is no turning back, I won't one day believe in Santa Claus again.
I think personally in the west atheism is more akin to victorian christianity..it's just a baseline belief "cultured" people hold, and generally is held without thinking much about the consequences as people go about their daily lives.
Then a stranger asked, "Why do you worry so with your counting? Do you ever expect to find the right number? Just use a tab, my friend, and the number will always be One."
In that moment, the programmer was enlightened.
But in their previous days, was this programmer not a true Believer of Spaces?
Even more tangentially :), someone who does not believe in the existence of a god is an agnostic. An atheist is someone who believes that god does not exist (which is just as unproven as the opposite claim that god does exist).
I think the church can offer a sense of community that many people are seeking or lack, but this is just an outrageous claim. If "god" was the answer to mental illness, and this fact was definitive, there would be no mental illness left.
Our faith, in short, requires that we live for others. That's hard to do, and most of us are not good at it. My brother errs. I'm sorry for that.