You know, even if you don't believe in gods, I think it's good to have quiet time alone in a setting that lets you see how small you and all your problems are: doesn't have to be a church, it can be the mountains, a canyon, somewhere where you can quietly view the vastness of the cosmos, the ocean or whatever.
I think it's good to find something that does that for you: gives you that reflective, awe-inspiring religious feeling.
And after you find it, make some time for it occasionally.