Ecclesiastes 2:21

MKJV(i) 21 When there is a man whose labor is in wisdom, and in knowledge, and with success; yet to a man who has not labored in it, he shall leave it for his share. This also is vanity and a great evil.