For sure, my church citation wasn't about religion specifically, but that the decline in third spaces in general and a lack of community can be directly connected to early deaths and deaths of despair.
Church does not have to be a church of faith, it can well be a church of reason.
What matters is that people with shared values get to spend time together on a regular basis without getting into status games that might eventually show up no matter what the church.
I've tried a few types of churches of reason and they are pretty sad, honestly. Hard core, dedicated, non-religious person here, so I'm not saying that people should go to Church, but I've never seen anything approximating a Church of Reason that would have satisfied my (admittedly minimal) social desires.
I hear you. For me things that have worked are those that are built around a hobby -- travelling to the wooded hills, astronomy, music recitals, caring for strays / abandoned pets.