I don't think many of these replies are actually responding to TarSpiel's point, which has nothing to do with his own religiosity or lack thereof.
We can trumpet scientific advances until they finally figure out how to graft talking cocks on our foreheads, but none of those accomplishments crowd out widespread human demand for some deeper sense of purpose and/or holistic integration in a community and the world at large. I also think it's incorrect to suggest that the scientific community does not weave its own accomplishments into a story tying together a benighted human past, a promising human present, and a transformed human future. I already mentioned that liberal Christianity turned its attention to scientific advancement (hello eugenics!) and social reform in the early 20th century. In short, the commonplace move to make the world a better place--scientifically and otherwise--derived (at least in part) from the secularization of a postmillenial liberal Christianity. And I say this as an atheist who thinks the premises of Christianity are fascinating but insane.
As an aside, the problem of purpose in a rationalist, technological society is a common science-fiction trope, in novels where scientists have, in fact, figured out how to put those magnificent cocks on our foreheads. On my reading, Greg Egan's Diaspora tries to imagine scientific endeavor as an aesthetic-cum-sacral experience. The best entries in Iain M. Banks's Culture series reflect on the same ideas.
Nowadays, churches, synagogues, mosques, and Roy Rogers restaurants certainly do not have hold positions in modern society that allow these institutions to steer peoples' experience of a purposeful life, which is why we can entertain for one second the notion that the Cave serves the same purpose. But to compare the worldview of Durkheim's Australian aborigine to Barney fucking Gumbel is doubly ridiculous, and even if Barney delivers meals to Carl and Lenny in snowstorms. At the very least, the value of ritual emerges in the ways in which it yokes the participant into a purposeful practice with a past, a present, and a future--a ritual human centipede, one might say, ass-to-mouth across the ages. Does going to a bar do that?