I'm not a religious person and share some of your opinions but it seems to me fairly obvious that religion has contributed a lot to social coherence and organization. There's a reason it is almost endemic in post hunter-gatherer societies despite the wide variance in beliefs.
Humans are a people of stories and a shared common narrative was probably critical to provide societal cohesion and build a sense of community and purpose.
Humans are a people of stories and a shared common narrative was probably critical to provide societal cohesion and build a sense of community and purpose.