Ecclesiastes 2:21 New English Translation (NET)

For a man may do his work with wisdom, knowledge, and skill;however, he must hand over the fruit of his labor as an inheritanceto someone else who did not work for it.This also is futile, and an awful injustice!

Ecclesiastes 2

Ecclesiastes 2:14-26