Churches absolutely solve loneliness: it's a ready-made community complete with social events and opportunities that, with small exceptions and discounting odd-ball churches, anyone can join. Yes, they have a morality on right and wrong, but from reading your comment, I'm pretty sure you do too.
People are avoiding dating and marriage because of climate change? This doesn't sound real.
I suspect COVID making everything socially bizarre is having a much bigger impact on dating than a financial bubble bursting 13 years ago.