Ecclesiastes 6:2-4 English Standard Version (ESV)
2 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;[a] it is a grievous evil. 3 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. 4 For it comes in vanity and goes in darkness, and in darkness its name is covered.