In the Old Testament, God allowed Satan to afflict the righteous Job with the loss of his family and virtually everything he owned, and then to attack his body with painful boils. (God allowed this for a long-ranged purpose.)
If we are depressed, we we must not let embarrassment hold us back from seeking help when we are depressed.
Job 3 shows this faithful man’s deep depression and desire to die:
“May the day perish on which I was born, and the night in which it was said ‘a male child is conceived.’ May that day be darkness; may God above not seek it, nor the light shine upon it” (Job 3:3-4 Job 3:3-4  Let the day perish wherein I was born, and the night in which it was said, There is a man child conceived.
 Let that day be darkness; let not God regard it from above, neither let the light shine on it.
American King James Version×). Later, Job wished for death. “Why is light given to him who is in misery, and life to the bitter of the soul, who long for death, but it does not come, and search for it more than hidden treasures” (Job 3:20-21 Job 3:20-21  Why is light given to him that is in misery, and life to the bitter in soul;  Which long for death, but it comes not; and dig for it more than for hid treasures;
American King James Version×). Long-term suffering without hope drives many to despair and the desire to end it all.
In 1 Samuel 1 we see the story of Hannah, one of two wives of Elkanah. The other wife, Peninnah, had children, but Hannah was unable to conceive. Peninnah arrogantly ridiculed Hannah and “provoked her severely, to make her miserable” (1 Samuel 1:6 1 Samuel 1:6And her adversary also provoked her sore, for to make her fret, because the LORD had shut up her womb.
American King James Version×). At those times, Hannah “wept and did not eat” (1 Samuel 1:7 1 Samuel 1:7And as he did so year by year, when she went up to the house of the LORD, so she provoked her; therefore she wept, and did not eat.
American King James Version×).
Then one year when they had gone to worship at the tabernacle, “she was in bitterness of soul, and prayed to the Lord and wept in anguish” (1 Samuel 1:10 1 Samuel 1:10And she was in bitterness of soul, and prayed to the LORD, and wept sore.
American King James Version×). Hannah was indeed depressed. But the story has a very happy ending.
The book of 1 Samuel also records the sad reign of Saul, the ﬁrst king of Israel. He started out well enough: tall, attractive, from a good family; it would seem he had everything going for him. But a series of bad decisions based on his pride and a wrong attitude took their toll, and before long Saul sank into the depths of depression.
Additionally, some of God’s own prophets went through very low periods when they wished they were dead. Elijah is perhaps the best known. He carried God’s judgments and warnings to several Israelite kings, including the despotic Ahab and his evil wife, Jezebel.
A high point of Elijah’s life came when he overthrew the 450 prophets of Baal at Mt. Carmel (1 Kings 18). He proved not only the power of God but the utter lack of power of the hundreds of pagan prophets. It seems Elijah should have been on top of the world, but he soon sank into the depths of depression after being threatened by Jezebel.
“Then he himself went a day’s journey into the wilderness and sat down under a broom tree. And he prayed that he might die, and said: ‘It is enough! Now, Lord, take my life, for I am no better than my fathers’” (1 Kings 19:4 1 Kings 19:4But he himself went a day's journey into the wilderness, and came and sat down under a juniper tree: and he requested for himself that he might die; and said, It is enough; now, O LORD, take away my life; for I am not better than my fathers.
American King James Version×).
Elijah was extremely tired physically and mentally, but he also needed to learn a lesson about God’s power and presence.
The Bible records other examples. We know Jeremiah went through periods of great grief and probably some depression.
Jonah suffered frustration, resentment, and discouragement over God’s decision not to destroy Nineveh (Jonah 4:8 Jonah 4:8And it came to pass, when the sun did arise, that God prepared a vehement east wind; and the sun beat on the head of Jonah, that he fainted, and wished in himself to die, and said, It is better for me to die than to live.
American King James Version×).
The apostle Paul experienced many types of great suffering, as he summarized in 2 Corinthians 11:23-26 2 Corinthians 11:23-26  Are they ministers of Christ? (I speak as a fool) I am more; in labors more abundant, in stripes above measure, in prisons more frequent, in deaths oft.
 Of the Jews five times received I forty stripes save one.
 Thrice was I beaten with rods, once was I stoned, thrice I suffered shipwreck, a night and a day I have been in the deep;
 In journeys often, in perils of waters, in perils of robbers, in perils by my own countrymen, in perils by the heathen, in perils in the city, in perils in the wilderness, in perils in the sea, in perils among false brothers;
American King James Version×. However, the New Testament gives no evidence of Paul suffering any deep depression. Philippians 3:13-14 Philippians 3:13-14  Brothers, I count not myself to have apprehended: but this one thing I do, forgetting those things which are behind, and reaching forth to those things which are before,  I press toward the mark for the prize of the high calling of God in Christ Jesus.
American King James Version×shows he knew the importance of “forgetting those things which are behind [because God’s grace gives us a clean slate and you can’t change the past] and reaching forward to those things which are ahead”—staying Christ-centered and focused on the goal of God’s Kingdom.
Paul’s epistles are ﬁlled with uplifting encouragement for others. Such encouragement can be found in Romans 8:18 Romans 8:18For I reckon that the sufferings of this present time are not worthy to be compared with the glory which shall be revealed in us.
American King James Version×and Romans 8:28 Romans 8:28And we know that all things work together for good to them that love God, to them who are the called according to his purpose.
American King James Version×, and 2 Corinthians 4, where he spoke of “our light affliction, which is but for a moment” (2 Corinthians 4:17 2 Corinthians 4:17For our light affliction, which is but for a moment, works for us a far more exceeding and eternal weight of glory;
American King James Version×). These verses have given great comfort, encouragement and inspiration to countless people over the ages. Paul’s example shows that depression comes not so much from what happens to us as from our perspective and attitudes about those happenings.
The point is that depression can also affect godly people. It’s not necessarily a character flaw or a sin that brings on depression, although these can be factors. Many of God’s servants went through low periods in their lives and sometimes suffered from depression and a desire to die. However, though they may have wanted God to end their lives, the Bible records no cases of them taking their own lives.
If we are depressed, we we must not let embarrassment hold us back from seeking help when we are depressed. In the next section, we consider the question: What does the Bible reveal about how God views suicide?