Exodus 1:15-17

15 And the king of Egypt spoke to the Hebrew midwives, one of whom was named Shiphrah and another [named] Puah;

16 and he said, When ye do the office of a midwife to the Hebrew women and see [the] sex, if it [is] a son, then ye shall kill him; but if it [is] a daughter, then she shall live.

17 But the midwives feared God and did not [do] as the king of Egypt commanded them but gave the men children their lives.