You misread the article. Knowing God leads to better mental health outcomes. Ignorance of God leads to prolonged misery. Ignorance is misery.
It is as Jesus said: you will know the truth, and the truth will make you free.
It is as Colonel Jessup said: You can't handle the truth.