I'd strongly disagree with this. Since becoming serious about my faith as a 15 year old from a non-christian background, my life and my friend group has gotten progressively better. I had an existential crisis that helped bring me to faith - basically what is the point of anything if there's nothing beyond this world of matter? I've not had one since, as I don't believe this world of matter is all there is.
How about the truth that most communities are built around some kind of nonsense, and maybe you can deal with a bit of nonsense to enjoy the benefits of community?
I can't think of a way to feel more hollow like the OP describes. Not making any claims or suggestions for others just pointing out how different that would make me feel compared to the suggestion. Different strokes for different folks apparently.