4 For him who is joined to all the living there is hope; a living dog is better than a dead lion. 5 The living are conscious that death will come to them, but the dead are not conscious of anything, and they no longer have a reward, because there is no memory of them. 6 Their love and their hate and their envy are now ended; and they have no longer a part for ever in anything which is done under the sun. 7 Come, take your bread with joy, and your wine with a glad heart. God has taken pleasure in your works. 8 Let your clothing be white at all times, and let not your head be without oil. 9 Have joy with the woman of your love all the days of your foolish life which he gives you under the sun. Because that is your part in life and in your work which you do under the sun. 10 Whatever comes to your hand to do with all your power, do it because there is no work, or thought, or knowledge, or wisdom in the place of the dead to which 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.