Ecclesiastes 7:2-4

MLV(i) 2 It is better to go to the house of mourning than to go to the house of feasting. For that is the end of all men and the living will lay it to his heart.
3 Sorrow is better than laughter, because by the sadness of the countenance 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 gladness.