17So I was hating life, because everything under the sun was evil to me: all is to no purpose and desire for wind.
18Hate had I for all my work which I had done, because the man who comes after me will have its fruits.
19And who is to say if that man will be wise or foolish? But he will have power over all my work which I have done and in which I have been wise under the sun. This again is to no purpose.
20So my mind was turned to grief for all the trouble I had taken and all my wisdom under the sun.
21Because there is a man whose work has been done with wisdom, with knowledge, and with an expert hand; but one who has done nothing for it will have it for his heritage. This again is to no purpose and a great evil.
22What does a man get for all his work, and for the weight of care with which he has done his work under the sun?
23All his days are sorrow, and his work is full of grief. Even in the night his heart has no rest. This again is to no purpose.