Ecclesiastes 2:18 (ESV)

18 I hated all my toil in which I toil under the sun, seeing that I must leave it to the man who will come after me,