Ecclesiastes 2:21

LEB(i) 21 For although a person may toil with great wisdom and skill, he must leave his reward to someone who has not toiled for it. This also is vanity and a great calamity.