Allah revealed a Surah to his Prophet that deals with the psychology of depression...It is Surah of al-Duha...
Reminding Muslims of Islam ethics and good morals is of great value in Islam.
One of the most important lessons that every Muslim has to realize with the most careful consideration.