Exodus 1:16

16“When you serve as midwife to the Hebrew women and see them on the birthstool, if it is a son, you shall kill him, but if it is a daughter, she shall live.”

Exodus 1:22

22Then Pharaoh commanded all his people, aEvery son that is born to the Hebrews
Samaritan, Septuagint, Targum; Hebrew lacks  to the Hebrews
you shall cast into cthe Nile, but you shall let every daughter live.”

Copyright information for ESV