What people need is a secular community to replace it, and not all find it. Some of the things listed above are exacerbated by feelings of isolation or lack of purpose.
A lie is best concealed between two truths. Churches know how to organize people. It’s a rare set of people management skills that has nothing specific to do with the Divine. They’ve just had more opportunity to hone those skills.
But as humans we often trust people who show expertise in multiple areas to be telling us the truth about other things as well. There are plenty of good things that happen at churches, but they don’t have to happen at a church. And the more they happen in the secular world, the more people figure out they can pick and chose things that make them feel like decent human beings without signing up for the others. That’s either a terrifying or comforting statement, depending on which way you are coming from.
So do volunteer organizations and other secular institutions and groups like book clubs, fitness groups, tabletop game players, Pokemon Go players, etc.
Back to my own speculation, I'd surmise that a lot of people who go to church may go for the community or personal connections, and may not even believe in the dogma. Many times I've been to church enough times to have listened to frequent sermons about maintaining faith, and those sermons always puzzle me - why do these churchgoers have such difficulty maintaining faith to the point where the preacher has to bring it up regularly?