Ecclesiastes 6:5
Amplified Bible (AMP)
Moreover, he has not seen the sun nor had any knowledge, yet he [the stillborn child] has rest rather than he [who is aware of all that he has missed and all that he would not have had to suffer].— Ecclesiastes 6:5 (AMP)