Ecclesiastes 6:3

New International Reader's Version Bible (NIRV)
A man might have a hundred children. He might live a long time. But suppose he can’t enjoy his wealth. And suppose he isn’t buried in the proper way. Then it doesn’t matter how long he lives. I’m telling you that a baby that is born dead is better off than that man is.

Read Ecclesiastes 6:3 in other translations