4 But 'to' him who is joined unto all the living there is confidence, for to a living dog it 'is' better than to the dead lion. 5 For the living know that they die, and the dead know not anything, and there is no more to them a reward, for their remembrance hath been forgotten. 6 Their love also, their hatred also, their envy also, hath already perished, and they have no more a portion to the age in all that hath been done under the sun. 7 Go, eat with joy thy bread, and drink with a glad heart thy wine, for already hath God been pleased with thy works. 8 At all times let thy garments be white, and let not perfume be lacking on thy head. 9 See life with the wife whom thou hast loved, all the days of the life of thy vanity, that He hath given to thee under the sun, all the days of thy vanity, for it 'is' thy portion in life, even of thy labour that thou art labouring at under the sun. 10 All that thy hand findeth to do, with thy power do, for there is no work, and device, and knowledge, and wisdom in Sheol whither thou art going.

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.