18 I hated all the things I had toiled for under the sun, because I must leave them to the one who comes after me.u 19 And who knows whether that person will be wise or foolish?v Yet they will have control over all the fruit of my toil into which I have poured my effort and skill under the sun. This too is meaningless. 20 So my heart began to despair over all my toilsome labor under the sun. 21 For a person may labor with wisdom, knowledge and skill, and then they must leave all they own to another who has not toiled for it. This too is meaningless and a great misfortune. 22 What do people get for all the toil and anxious striving with which they labor under the sun?w 23 All their days their work is grief and pain;x even at night their minds do not rest.y This too is meaningless.
24 A person can do nothing better than to eat and drinkz and find satisfaction in their own toil.a This too, I see, is from the hand of God,b 25 for without him, who can eat or find enjoyment?c 26 To the person who pleases him, God gives wisdom,d knowledge and happiness, but to the sinner he gives the task of gathering and storing up wealthe to hand it over to the one who pleases God.f This too is meaningless, a chasing after the wind.