When this happens, we must - despite how difficult things may seem - hold on to God and His way of life, not letting go even unto death. Despite his many hardships, the apostle Paul relied on God and did not let himself get depressed for very long, if at all. Now look at what he told the Corinthians.
Now flip over to Philippians 4, verse 10. Paul had many reasons to get discouraged. His letters and the book of Acts record many of his unpleasant predicaments, yet he did not let adverse circumstances depress him. After five shipwrecks, he did not let it get to him. I am still bewildered at that one.