Yesterday upon the stair
I met a man who wasn't there
He wasn't there again today
I wish, I wish he'd go away
That verse by Hughes Mearns reminds me of "God"...
At least from the time of Darwin and then Nietzsche, we have known that "God" is either redundant or dead, in the sense that there is no longer any need, as Laplace put it, "for that hypothesis" to explain either the origins of humankind (per Darwin) or the answers to the great philosophical questions that humankind perplexes itself with (per Nietzsche)...
And yet a century and a half on, there the "God" who isn't there still is!
There are various ideas about how "God" came to be in the first place...ranging from "he" was invented to keep the hoi polloi subservient, or to enable a priestly class to fleece the flock to "he" was invented as a means of enforcing morality as the sizes of human groups grew or to enable to answer insoluble mysteries by a appealing to magical supernaturalism ...etc. etc.
As Nietzsche foresaw, that "God" is dead...killed off by our own insatiable quest for ever more plausible answers to the questions that once only "God" held the answers to.
And yet, there the "God" who isn't there still is!
Why is that? Why have almost all human cultures foisted the burden of "God" upon themselves? And why do we still, 140 years after the announcement of "God's" death, do we still find it so difficult to divest ourselves of such a costly investment?
Is "God" encoded somehow in our cultural "DNA"? Did (does?) "God" really provide such a survival or group cohesion advantage that it has become inseparable from our collective cultural psyche, such that even those who doubt or even disbelieve, still have a sneaking suspicion that there's "something" there...something "bigger" than "mere" Nature?
Why is it so difficult to make "God" go away?
Humans have a demonstrated hard-wired practice of instantly fitting a tentative narrative around events and perceptions that do not have a context or explanation known to the subject. What was that noise in the night? Why is Jones late? The traffic is oddly quiet for this time of day ... Further information may explain the problem away, or cause that narrative to be replaced by another.
What, then, are we to make of lightning and thunder? Of a meteor, comet, eclipse, aurora? Of drought, plague, sepsis? Of good luck and bad luck in hunting, in war, in love?
Gods and goddesses, pixies, trolls, goblins and fairies, magicians, enchanters, wishing wells, fill those gaps in our understanding. Gods also give you something to do when you're subject to pressure from any of the problems or questions above ─ prayer, sacrifice, rituals, can be called in aid, often with a professional class on the engine.
And all cultures have stories which routinely have a creation tale of some or other degree of sophistication, meaning humans like to have an accepted explanation about such things. They also have tales of heroes and of people symbolic of their tribal culture &c, and just-so stories about why there are stars, that river, that oddly-shaped mountain, and so on.
Just talking about it makes me admire science the more.