"A cardinal principal in the service of God is that it must be done with joy.
Nowhere does the Torah expressly forbid sadness and depression, yet this is the most virulent of sins, for it stifles the heart and mind, closing them to the service of God.
Joy is not an express mitzvah but is the greatest of mitzvot, for it opens a person's heart and mind, enabling him to perform all the mitzvot and to make a mitzvah of everything."
From Opening the Tanya by Rabbi Adin Steinsaltz