וּמִ֣י יוֹדֵ֗עַ הֶֽחָכָ֤ם יִהְיֶה֙ א֣וֹ סָכָ֔ל וְיִשְׁלַט֙ בְּכָל־עֲמָלִ֔י שֶֽׁעָמַ֥לְתִּי וְשֶׁחָכַ֖מְתִּי תַּ֣חַת הַשָּׁ֑מֶשׁ גַּם־זֶ֖ה הָֽבֶל׃
And who knoweth whether he will be a wise man or a fool? yet will he have rule over all my labour wherein I have laboured, and wherein I have shown myself wise under the sun. This also is vanity.
Aramaic Targum to Ecclesiastes
And who knows whether wise or foolish will be the king who is to be after me, and reign over all my labour which I laboured in this world, and over all which I accomplish in my wisdom under the sun in this world? and I was confounded in my heart, and again said: This, too, is vanity.