Ibnul Qayyim رحمه الله said the word الحزن does not appear in the Qur’aan except in the form of forbidding it
ولا تهنو ولاتحزنوا
or in the form of negating it
فلاخوف عليهم ولا هم يحزنون
And the reason for this is because there is no benefit for having sadness in the heart. The most beloved thing to shaitan is to make the believing slave sad by taking him off track.
The Prophet صلی الله عليه وسلم sought refuge in Allah سبحانه وتعالى from sadness.
اللهم إني أعوذ بك من الهم والحزن
Source
Verses in full