This (an actual quote from a real-life person) is what passes for a theory of the origin of religion in the New Atheist echo chamber this month:
"that fine line, or moment (period maybe) in history where we went from hunter-gatherers to settled civilized people, seems to me that certain people took advantage by creating stories etc to put themselves in positions of power. that's the answer, these people cut themselves off from what went before, they invented something and now they won't let go"
Oh. Okay. So now we know. (Good thing YOU didn't invent anything.)