KJV: Then I looked on all the works that my hands had wrought, and on the labour that I had laboured to do: and, behold, all was vanity and vexation of spirit, and there was no profit under the sun.
NASB: Thus I considered all my activities which my hands had done and the labor which I had exerted, and behold all was vanity and striving after wind and there was no profit under the sun.
KJV: For God giveth to a man that is good in his sight wisdom, and knowledge, and joy: but to the sinner he giveth travail, to gather and to heap up, that he may give to him that is good before God. This also is vanity and vexation of spirit.
NASB: For to a person who is good in His sight He has given wisdom and knowledge and joy, while to the sinner He has given the task of gathering and collecting so that he may give to one who is good in God's sight. This too is vanity and striving after wind.
KJV: Again, I considered all travail, and every right work, that for this a man is envied of his neighbour. This is also vanity and vexation of spirit.
NASB: I have seen that every labor and every skill which is done is the result of rivalry between a man and his neighbor. This too is vanity and striving after wind.