Ecclesiastes 6:2-3

2a man ato whom bGod gives wealth, possessions, and honor, so that he clacks nothing of all that he desires, yet God ddoes not give him power to enjoy them, but a stranger enjoys them. This is vanity;
The Hebrew term hebel can refer to a “vapor” or “mere breath”; also verses 4, 9, 11 (see note on 1:2)
it is a grievous evil.
3If a man fathers a hundred children and lives many years, so that fthe days of his years are many, but his soul is not satisfied with life’s ggood things, and he also has no hburial, I say that ia stillborn child is better off than he.
Copyright information for ESV