Ecclesiastes 2:18-19

MLV(i) 18 And I hated all my labor in which I labored under the sun, seeing that I must leave it to the man who will be after me. 19 And who knows whether he will be a wise man or a fool? Yet he will have rule over all my labor in which I have labored and in which I have shown myself wise under the sun. This also is vanity.