Ecclesiastes 2:18-19

The Futility of Labor

18 Thus I hated all the fruit of my labor for which I had labored under the sun, for I must leave it to the man who will come after me.
19 And who knows whether he will be a wise man or a fool? Yet he will have control over all the fruit of my labor for which I have labored by acting wisely under the sun. This too is vanity.