Berean Study Bible (BSB) - Ecclesiastes 2:18 >

I hated all for which I had toiled under the sun, because I must leave it to the man who comes after me.

Jewish Publication Society of America Version (JPS1917) - Ecclesiastes 2:18 >

And I hated all my labour wherein I laboured under the sun, seeing that I must leave it unto the man that shall be after me.