Verse
Ecclesiastes 7:3-4 ESV

Sorrow is better than laughter,
for by sadness of face the heart is made glad.
The heart of the wise is in the house of mourning, but the heart of fools is in the house of mirth.