Ecclesiastes 6:4 in the King James Version
For he cometh in with vanity, and departeth in darkness, and his name shall be covered with darkness.
Context
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 filled with good, and moreover he has no burial, I say that a stillborn child is better than he;
4 for it comes in vanity, and departs in darkness, and its name is covered with darkness.
5 Moreover it has not seen the sun nor known it. This has rest rather than the other.