Amazing article!
The best way to avoid being depressed is to turn to God, it really is!
Something I would like to share; a small part from the book "Dont be sad"
Look around you, to the right and to the left. Do you not see the afflicted and the unfortunate? In every house there is mourning and upon every cheek run tears.
How many tribulations and how many people persevere with patience? You are not alone in your troubles, which are few compared to those of others. How many sick people remain bedridden for years while suffering from unspeakable pain?
How many men and women have lost their dear children in the prime of youth? How many people are troubled or tormented?
Find consolation with those that are worse off than you; know that this life is like a prison for the believer, an abode of grief and sadness.
You must also compare your difficulties with the difficulties of those around you, and with those that have come before you: you should realize that you are in good shape relative to them, and that you have merely been pricked by tiny difficulties.
So praise Allah for His kindness, be thankful for what He has left for you, seek recompense from Him for what He has taken, and seek consolation with those that are afflicted.
You have a perfect example in the Prophet (PBUH).
The entrails of a camel were placed upon his head; his feet bled; his face was fractured; he was besieged in a mountain pass until he was forced to eat tree leaves; he was driven out of Makkah; his front tooth was broken in battle; his innocent wife was accused of wrongdoing; seventy of his Companions were killed; he was bereaved of his son and of most of his daughters; he would tie a stone around his stomach to lessen the pangs of hunger; and he was accused of being a poet, a magician, a soothsayer, a madman, and a liar - all at the same time.
Yet Allah protected him throughout these severe trials and tribulations.
Prophet Zakariyah (Zacharia) was killed, Prophet Ya~ya (John) was slaughtered, Prophet Moosa (Moses) was afflicted with great trials, Prophet Ibraheem (Abraham) was thrown in the fire, (may peace be upon them all), and the Imams of righteousness followed them upon this path. 'Umar was assassinated, as was 'Uthmaan and 'Ali (may Allah be pleased with them all).
Many scholars of the past have been flogged, imprisoned, or tortured.
“Or think you that you will enter Paradise without such [trials} as came to those who passed away before you? They were afflicted with severe poverty, ailments and were shaken" - (Qur 'an 2: 214)