Anyone who is having troubles should pray. Anyone who is happy should sing praises. Anyone who is sick should call the church's elders. They should pray for and pour oil on the person in the name of the Lord. And the prayer that is said with faith will make the sick person well; the Lord will heal that person. And if the person has sinned, the sins will be forgiven. Confess your sins to each other and pray for each other so God can heal you. When a believing person prays, great things happen. (James 5:13-16)
You are constantly told in depression that your judgment is compromised, but a part of depression is that it touches cognition. That you are having a breakdown does not mean that your life isn't a mess. If there are issues you have successfully skirted or avoided for years, they come cropping back up and stare you full in the face, and one aspect of depression is a deep knowledge that the comforting doctors who assure you that your judgment is bad are wrong. You are in touch with the real terribleness of your life. You can accept rationally that later, after the medication sets in, you will be better able to deal with the terribleness, but you will not be free of it. When you are depressed, the past and future are absorbed entirely by the present moment, as in the world of a three-year-old. You cannot remember a time when you felt better, at least not clearly; and you certainly cannot imagine a future time when you will feel better.
It is through the tender austerity of our troubles that the Son of Man comes knocking. In every event He seeks an entrance to my heart, yes, even in my most helpless, futile, fruitless moments. The very cracks and empty crannies of my life, my perplexities and hurts and botched-up jobs, He wants to fill with Himself, His joy, His life...He urges me to learn of Him: 'I am gentle and humble in heart.