20 As she was dying, the women attending her said, “Don’t despair; you have given birth to a son.” But she did not respond or pay any attention.

Read 1 Samuel 4:20 Using Other Translations

And about the time of her death the women that stood by her said unto her, Fear not; for thou hast born a son. But she answered not, neither did she regard it.
And about the time of her death the women attending her said to her, "Do not be afraid, for you have borne a son." But she did not answer or pay attention.
She died in childbirth, but before she passed away the midwives tried to encourage her. “Don’t be afraid,” they said. “You have a baby boy!” But she did not answer or pay attention to them.