Sha'irullah
رسول الآلهة
Since we humans first appeared, the world was surrounded by unexplained phenomena: the rise and set of the sun and moon; the ever-changing weather, including seasons, storms and other natural disasters; as well as other things. Once human intellect reached the point of being able to comprehend time as having a past, present, and future, man realized that they would someday die which was most likely horrific and a quite depressing fact for early humans. The idea that these unexplained phenomena were controlled by possibly sympathetic Spirits, and that their psyche would survive bodily death as an immaterial entity was comforting. Those who were able to buy into this comfort woo-woo would be better able to get on with their harsh and brief lives. Evolution therefore created the first gods. A possible date for these events could be the first anatomically modern humans 150,000 years ago, or maybe the time of the Cro-magnons and the behavioral revolution 40,000 years ago.
There is nothing comforting about my religion and I have depression. I simply find it asinine to even assert this as most religions offer no guaranteed comfort after death. I am a theist and I do not even think any god truly loves us and if anything made our lives dismal. Religion is very complicated and to pin it down to these points is comforting for you since you don't believe in any religion to begin with. But ultimately it doesn't express the religious which is a failing of anthropologists and historians who must look through the world in a strongly secular light.