Ecclesiastes 7:3

NIV
New International Version

3Frustration is better than laughter,
because a sad face is good for the heart.