Right you are. I blanked out on the incest.
Exd 1:15 And the king of Egypt spake to the Hebrew midwives, of which the name of the one [was] Shiphrah, and the name of the other Puah:
Exd 1:16 And he said, When ye do the office of a midwife to the Hebrew women, and see [them] upon the stools; if it [be] a son, then ye shall kill him: but if it [be] a daughter, then she shall live.
Exd 1:17 But the midwives feared God, and did not as the king of Egypt commanded them, but saved the men children alive.
Oedipus, now that was a close family.