Religion: How is a faith system i.e. "pretending to know things that you don't know" going to help? Community is a good thing, sure. But how does faith help?
About seven or eight years ago I lost my faith, and I have not found anything that quite replaces that. It's quite worthwhile, but obviously very difficult if 1) you don't actually believe what said group does, and 2) you actively dislike some of their beliefs (homophobia, etc.).
But even with all the bad stuff, I might one day join a church again.
I'm not sure I would recommend religion to this person. But I wouldn't be surprised if his unhappiness comes from what he chooses to believe in some context.
In short, it's an option that's there.