KJV: And whatsoever mine eyes desired I kept not from them, I withheld not my heart from any joy; for my heart rejoiced in all my labour: and this was my portion of all my labour.
NASB: All that my eyes desired I did not refuse them. I did not withhold my heart from any pleasure, for my heart was pleased because of all my labor and this was my reward for all my labor.
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.