For people may labor with wisdom, knowledge and skill, and then they must leave all they own to others who have not toiled for it. This too is meaningless and a great misfortune.
NIV
For here is a man whose labor is with wisdom and knowledge and skill; yet to a man who has not toiled for it he must leave it all as his portion. This also is vanity (emptiness, falsity, and futility) and a great evil!
AMP
For there is a man whose labour is in wisdom, and in knowledge, and in equity; yet to a man that hath not laboured therein shall he leave it for his portion. This also is vanity and a great evil.
KJV
All their days their work is grief and pain; even at night their minds do not rest. This too is meaningless.
NIV
For all his days are but pain and sorrow, and his work is a vexation and grief; his mind takes no rest even at night. This is also vanity (emptiness, falsity, and futility)!
AMP
For all his days are sorrows, and his travail grief; yea, his heart taketh not rest in the night. This is also vanity.
KJV
And who knows whether that person will be wise or foolish? Yet they will have control over all the toil into which I have poured my effort and skill under the sun. This too is meaningless.
NIV
And who knows whether he will be a wise man or a fool? Yet he will have dominion over all my labor in which I have toiled and in which I have shown myself wise under the sun. This is also vanity (emptiness, falsity, and futility)!
AMP
And who knoweth whether he shall be a wise man or a fool? yet shall he have rule over all my labour wherein I have laboured, and wherein I have shewed myself wise under the sun. This is also vanity.
KJV