Exodus 1:16

1:16 “When you assist the Hebrew women in childbirth, observe at the delivery: If it is a son, kill him, but if it is a daughter, she may live.”

Exodus 1:22

1:22 Then Pharaoh commanded all his people, “All sons that are born you must throw into the river, but all daughters you may let live.”