And it's not just the social part of the community, or the moral lessons, although I liked both of those things - a church gives you an entire framework for your life. What's a secular wedding? A secular funeral? How do your kids get involved in the community outside of the public school system (Boy Scouts is hardly secular) and how do you celebrate their coming of age? What are your standing plans for Wednesday night and Sunday morning? We have to reinvent all these things from scratch when we're not involved with a church, and people do that, but I've never seen such an in-depth and positive out-of-the-box experience as what a church provides. They've been optimizing this stuff for literally millennia.
And I think that society is ripe for a group that will provide all of this, while not also trying to tell us about spirits doing magic tricks. And if you think about it that way, then the "this is where the world comes from" part of religion is almost a sideshow to the "here's a community and framework for your life" part, and yet it's what people focus on and what turns people away.