The closest is John 16:21 (ESV)
When a woman is giving birth, she has sorrow
because her hour has come, but when she has delivered the baby, she no longer
remembers the anguish, for joy that a human being has been born into the
world.
It is senseless when a baby is born dead. The baby is quickly buried in a
dark grave, without even a name.
Ecclesiastes 6:4 (ETRV)
"When a baby boy is born, the mother shall be ceremonially defiled for
seven days, and under the same restrictions as during her monthly menstrual
periods.
Leviticus 12:2 (TLB)
"When a baby girl is born, the mother’s ceremonial impurity shall last two
weeks, during which time she will be under the same restrictions as during
menstruation. Then for a further sixty-six days she shall continue her recovery.
Leviticus 12:5 (TLB)