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.