From my point of view, as a person who's quite interested in theories of theoretical physics, cosmology, and questions that are most fundamental to understanding our physical reality, I like to think that one can always view thins from either side of the coin, that it's up to you to choose which one you wish to believe. I like to believe in religion, others think the answer is in atheism and secular science, I think these views aren't contradictory but are just another cup half full/half empty kind of situation. For example, I find the extreme precision required in having the existence of life on earth be feasible (given the set of physical laws in our universe) an incredible thing in its own right, and one may view this as evidence of God's power, or from the atheistic perspective one can just say, thatthe math works out for this one planetand it's just by chance that life exists here, given so many others exist life was bound to exist somewhere. I don't believe that science and religion are in opposition in any way, rather they complement each other for a better understanding of the world. But that's my opinion.
Religious or not, I think everyone has these questions from time to time. But I'd suggest doing some soul searching and a bit of reading. I think religion is beautiful when done right.