Ecclesiastes 2
18 Ref Hate had I for all my work which I had done, because the man who comes after me will have its fruits.
19 Ref And 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.
20 Ref So my mind was turned to grief for all the trouble I had taken and all my wisdom under the sun.
21 Ref Because 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.
22 Ref What does a man get for all his work, and for the weight of care with which he has done his work under the sun?
23 Ref All 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.