Ecclesiastes 7:3–7 (ESV)
3 Sorrow is better than laughter,
for by sadness of face the heart is made glad.
4 The heart of the wise is in the house of mourning,
but the heart of fools is in the house of mirth.
5 It is better for a man to hear the rebuke of the wise
than to hear the song of fools.
6 For as the crackling of thorns under a pot,
so is the laughter of the fools;
this also is vanity.
7 Surely oppression drives the wise into madness,
and a bribe corrupts the heart.