Whether or not "religion" helped primitive men solidify "societies" is a moot point. In this day and age, there is not a SINGLE positive contribution religion makes to the world that could not and would not exist without religion. Religion does nothing but divide people.
There are so many examples of the damaging effects religion has on the world, we almost couldn't even list them here. They've spent hundreds of years fighting and holding up medical and scientific research, advancement, and education. Theists try to deny gay couples the right to marry because their religion doesn't "like" it. Not only that, but they've used their religious literature to fight against human rights of ALL kinds (except their own). They tell our children that the Earth is only 6000 years old despite the fact that every single piece of evidence in existence shows that this is not true. They tell people who are starving or dying of AIDS that using condoms/birth control is "bad" because there's a magical being that might want to give them a baby. They've taught people to fear and be ashamed of their bodies and their sexuality for centuries. They've spent 2000 years jailing, torturing, and executing atheists and others who do not share their religious beliefs, and they STILL harass, discriminate against, damage the property of, and even physically assault atheists and others who do not share their beliefs. And shall we forget: witch burnings, holy wars, money-grubbing 'faith healing' charletans and televangelists, zealots flying airplanes into buildings full of people, the subjucation of women, parents letting their children DIE because they'd rather pray than take them to a doctor, theists consistently trying to force their religious beliefs into our laws, schools, and government, the ENDLESS violence over a useless sh--hole in the desert because people think it's "holy"... and the list goes ON and ON.
There is not a SINGLE positive effect from religion in todays society that even comes CLOSE to superceding the countless problems it causes. Religion is a cancer in our world. And we would all be better off without it.