The heart of the wise is in the house of mourning,
but the heart of fools is in the house of merrymaking. Bible see other translations

“The heart of the wise is in the house of mourning.” Ecclesiastes 7:4 is very similar to Ecclesiastes 7:2 and reminds us to live with the end in mind. In this verse, however, instead of reminding the living to take their own mortality to heart, God goes somewhat the opposite way and contrasts the wise with the fool. The wise keep their mortality in mind, while fools ignore it and spend their time on frivolous activities. The contrast between the wise person and the fool is common in the wisdom literature, especially Proverbs and Ecclesiastes. Although Ecclesiastes points out that the wise and the fool both die (Ecc. 2:14-16), there is still a definite advantage to being wise, as we see here (cp. Ecc. 10:12).

Commentary for: Ecclesiastes 7:4