KJV: 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.
NASB: When there is a man who has labored with wisdom, knowledge and skill, then he gives his legacy to one who has not labored with them. This too is vanity and a great evil.
KJV: In the day of prosperity be joyful, but in the day of adversity consider: God also hath set the one over against the other, to the end that man should find nothing after him.
NASB: In the day of prosperity be happy, But in the day of adversity consider-- God has made the one as well as the other So that man will not discover anything that will be after him.
KJV: All things have I seen in the days of my vanity: there is a just man that perisheth in his righteousness, and there is a wicked man that prolongeth his life in his wickedness.
NASB: I have seen everything during my lifetime of futility; there is a righteous man who perishes in his righteousness and there is a wicked man who prolongs his life in his wickedness.