Ecclesiastes 6

There is the man to whom God gives riches and property and honor, so that he lacks none of all the things he craves; yet God does not grant him power to partake of them, but a stranger devours them. This is vanity and a dire plague.

Should a man have a hundred children and live many years, no matter to what great age, still if he has not the full benefit of his goods, or if he is deprived of burial, of this man I proclaim that the child born dead is more fortunate than he.

Though it came in vain and goes into darkness and its name is enveloped in darkness; though it has not seen or known the sun, yet the dead child is at rest rather than such a man. Should he live twice a thousand years and not enjoy his goods, do not both go to the same place?

Whatever is, was long ago given its name, and the nature of man is known, and that he cannot contend in judgment with one who is stronger than he. For though there are many sayings that multiply vanity, what profit is there for a man?

For who knows what is good for a man in life, the limited days of his vain life (which God has made like a shadow)? Because-who is there to tell a man what will come after him under the sun?

Ecclesiastes 6:2-6, 10-12