Based on your previous post, you seem to think everyone is independent and strong enough to get through life happily without God. If god is not present, in what will they shelter their insecurities in? (that's honestly, a question i've been wondering
What else can perform that emotional support? Religion's effect on us increases depending on how much we believe in it. Its hard to believe some wacko cult, based on a pen. But 1000 year old system. Its eaiser to trust in. Increase of faith, strength -> increase of comfort and truely believing god loves you. Which -> aid fighting against depression, traumatic, experiences, etc
On a site note
I believe the whole concept of god was created, of course to reinforce laws, morals, etc. But also to free one's worries. eg. "This crop season may turn out bad" so to free oneself from that anxiety they created some god. By offering a tribute, now one can rest in peace.
Those who don't follow some god like rituals, may lead to other rituals. Let say, superstitions. Lucky underwear, lucky pencil, etc. etc.
But just like rumors, people are more like to believe in something, when done in a group. This causes whatever the religion promises (lets say happiness) to strengthen, as the follower's belief will strengthen.
Shit the bell went off, srry if something doesnt make any sense.