Aramaic Targum to Ecclesiastes
Because there is a man whose labour is in wisdom, reason, and justice, and he dies without issue; and to a man who did not labour for it, he is to give it, that it may be his portion; also this is vanity, and a great evil.