4 But for him who is joined to all the living there is hope, for a living dog is better than a dead lion. 5 For the living know that they will die; But the dead know nothing, And they have no more reward, For the memory of them is forgotten. 6 Also their love, their hatred, and their envy have now perished; Nevermore will they have a share In anything done under the sun. 7 Go, eat your bread with joy, And drink your wine with a merry heart; For God has already accepted your works. 8 Let your garments always be white, And let your head lack no oil. 9 Live joyfully with the wife whom you love all the days of your vain life which He has given you under the sun, all your days of vanity; for that is your portion in life, and in the labor which you perform under the sun. 10 Whatever your hand finds to do, do it with your might; for there is no work or device or knowledge or wisdom in the grave where you are 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.