Just note that prayer can be a cause of depression if you find yourself in a religion that turns out not to work for you, so maybe try stopping praying, too.
Yep, for me personally religion was one of the major causes of my depression. And I've been happier as I cut it out of my life. Others find happiness in religion. Everyone is different, find what makes you happy.