4 For to him that is joined with all the living there is hope; for a living dog is better than a dead lion. 5 For the living know that they shall die: but the dead know not anything, neither have they any more a reward; for the memory of them is forgotten. 6 As well their love, as their hatred and their envy, is perished long ago; neither have they any more a portion for ever in anything that is done under the sun. 7 Go thy way, eat thy bread with joy, and drink thy wine with a merry heart; for God hath already accepted thy works. 8 Let thy garments be always white; and let not thy head lack oil. 9 Live joyfully with the wife whom thou lovest all the days of thy life of vanity, which he hath given thee under the sun, all thy days of vanity: for that is thy portion in life, and in thy labor wherein thou laborest under the sun. 10 Whatsoever thy hand findeth to do, do [it] with thy might; for there is no work, nor device, nor knowledge, nor wisdom, in Sheol, whither thou goest.

Matthew Henry's Commentary on Ecclesiastes 9:4-10

Commentary on Ecclesiastes 9:4-10

(Read Ecclesiastes 9:4-10)

The most despicable living man's state, is preferable to that of the most noble who have died impenitent. Solomon exhorts the wise and pious to cheerful confidence in God, whatever their condition in life. The meanest morsel, coming from their Father's love, in answer to prayer, will have a peculiar relish. Not that we may set our hearts upon the delights of sense, but what God has given us we may use with wisdom. The joy here described, is the gladness of heart that springs from a sense of the Divine favour. This is the world of service, that to come is the world of recompence. All in their stations, may find some work to do. And above all, sinners have the salvation of their souls to seek after, believers have to prove their faith, adorn the gospel, glorify God, and serve their generation.