I teach at Eastern University, which is highly committed to doing work among the poor and the oppressed peoples of the world. We have a special commitment to the city.
I'm not denying that depression can be spiritually induced. Guilt from having wronged and hurt others can bring it on. A sense of having failed to live out the will of God can give rise to depression. Certainly the fear of death and what might follow can sap the joy out of life.
Often, we ignore the fact that our spiritual condition and psychological state of mind are highly affected by what is happening to us physically.
There is no doubt that religion had already waned under the onslaught of the Enlightenment, but it was Freud who provided the radically new understanding of human nature that made any religious explanation of the whats and whys of our personhood seem naive.