Ecclesiastes 2:18

18 Yea, I hated all my labour which I had taken under the sun: because I should leave it unto the man that shall be after me.