Ecclesiastes 6:2-4 Lexham English Bible (LEB)
2 God gives a man wealth, possessions, and honor, so that he lacks nothing his heart desires; yet God does not enable him to enjoy it—instead someone else ends up enjoying it. This is vanity—indeed, it is a grievous ill!
3 Even if a man fathers a hundred children and lives many years so that the days of his years are many, if his heart[a] is not satisfied with his prosperity[b] and he does not receive a proper burial,[c] I deem the stillborn better than him. 4 For he comes into vanity and departs into darkness, and his name is shrouded in darkness.