Book of Ecclesiastes

Ecclesiastes 2:21

King James Version
21 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.