Ecclesiastes 6:1-6 ESV
There is an evil that I have seen under the sun, and it lies heavy on mankind: a man to whom God gives wealth, possessions, and honor, so that he lacks nothing of all that he desires, yet God does not give him power to enjoy them, but a stranger enjoys them. This is vanity; it is a grievous evil. If a man fathers a hundred children and lives many years, so that the days of his years are many, but his soul is not satisfied with life’s good things, and he also has no burial, I say that a stillborn child is better off than he. For it comes in vanity and goes in darkness, and in darkness its name is covered. Moreover, it has not seen the sun or known anything, yet it finds rest rather than he. Even though he should live a thousand years twice over, yet enjoy no good—do not all go to the one place?
ESV: English Standard Version 2016