What does Ecclesiastes 2:21 mean?
Sometimes someone works hard with wisdom, knowledge, and skill, but then has to leave everything to someone who didn't work for it. That's meaningless and unfair. Ecclesiastes 2:21 - Modern Text Bible
(He sees it as unjust that someone can inherit the results of another’s hard work without earning it.)