Ecclesiastes 2:18 NKJV

18 Then I hated all my labor in which I had toiled under the sun, because I must leave it to the man who will come after me.