Wonderfully, however, depression caused by sin is immediately overcome by a thorough confession of that sin. We have a beautiful example of this in Psalm 107. These verses speak of affliction and iron, which could refer to imprisonment. But in the deeper sense, they speak of the darkness and the shadow of death which can fill a person's heart. He brought them out of darkness and the shadow of death, and brake their bands in sunder.
Depression caused by unforgiven sin lasts only as long as confession of sin is postponed.
Once this has taken place, sincerely and thoroughly, the depression flees. A second reason for depression in the life of a child of God is inheritance. Just as we can inherit diseases, we, unfortunately can also inherit depression. I need to emphasize here that we do not believe in the transferring of the guilt of sin, for the Bible clearly teaches that everyone is responsible for his or her own sin. However, the inheritance we are speaking about here is that the tendency to sin can be passed down.