Exodus 13:15
For when Pharaoh stubbornly refused to let us go, the Lord killed all the firstborn in the land of Egypt, both the firstborn of man and the firstborn of animals. Therefore I sacrifice to the Lord all the males that first open the womb, but all the firstborn of my sons I redeem.'