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.
Therefore I hated life; because the work that is wrought under the sun is grievous unto me: for all is vanity and vexation of spirit. Yea, I hated all my labour which I had taken under the sun: because I should leave it unto the man that shall be after me.
And he did that which was right in the sight of the LORD, and walked in the ways of David his father, and declined neither to the right hand, nor to the left.