Exodus 13 15
And it came about, when Pharaoh was stubborn about letting us go, that the Lord put to death every firstborn in the land of Egypt, from human firstborns to animal firstborns. Therefore, I sacrifice to the Lord the males, every firstborn of a womb, but every firstborn of my sons I redeem.’