The king of Egypt spoke to the Hebrew midwives, of whom the name of the one was Shiphrah, and the name of the other Puah, and he said, “When you perform the duty of a midwife to the Hebrew women, and see them on the birth stool; if it is a son, then you shall kill him; but if it is a daughter, then she shall live.” But the midwives feared God, and didn't do what the king of Egypt commanded them, but saved the baby boys alive. The king of Egypt called for the midwives, and said to them, “Why have you done this thing, and have saved the boys alive?” The midwives said to Pharaoh, “Because the Hebrew women aren't like the Egyptian women; for they are vigorous, and give birth before the midwife comes to them.” God dealt well with the midwives, and the people multiplied, and grew very mighty. Because the midwives feared God, he gave them families.
“Before she travailed, she gave birth. Before her pain came, she delivered a son. Who has heard of such a thing? Who has seen such things? Shall a land be born in one day? Shall a nation be born at once? For as soon as Zion travailed, she gave birth to her children. Shall I bring to the birth, and not cause to be delivered?” says the LORD. “Shall I who cause to give birth shut the womb?” says your God.
Most certainly I tell you, that you will weep and lament, but the world will rejoice. You will be sorrowful, but your sorrow will be turned into joy. A woman, when she gives birth, has sorrow, because her time has come. But when she has delivered the child, she doesn't remember the anguish any more, for the joy that a human being is born into the world. Therefore you now have sorrow, but I will see you again, and your heart will rejoice, and no one will take your joy away from you.