Exodus 13:15

15 When Pharaoh stubbornly refused to let us go, the Lord killed every firstborn [male] in the land of Egypt, from the firstborn of man to the firstborn of livestock. That is why I sacrifice to the Lord all the firstborn of the womb that are males, but I redeem all the firstborn of my sons.'

Exodus 13:15 Meaning and Commentary

Exodus 13:15

And it came to pass, when Pharaoh would hardly let us go
Showed great reluctance to it, and with difficulty was prevailed upon to dismiss them: that the Lord slew all the firstborn in the land of Egypt, both the
firstborn of men, and the firstborn of beast:
which he did in one night, making use of a destroying angel or angels for that purpose: therefore I sacrifice to the Lord all that openeth thee matrix, being
males;
that is, the firstborn of all clean creatures, as oxen, sheep, and goats: but all the firstborn of my children I redeem;
by paying five shekels apiece to the priest for them, as before observed; and this law continues to be observed with the Jews; the manner of which, as related by Leo Modena F9, is as follows,

``Thirty days being expired after the birth of the child, they call a priest to them; that is to say, one that is descended of the stock of Aaron, whom the father of the child pleaseth; and so, many people being gathered together at the time appointed, the father of the child bringeth before the priest, in a bowl or basin, a good quantity of gold and silver, and then they give him the child into his arms; the priest then calling the mother of it before him, saith unto her, mistress, is this your son? she answereth, yes; then, replies he, have you never had any child before, either male or female, or have miscarried anyone? she saith unto him, no; then doth the priest say, this child is mine, as being the firstborn; then turning himself toward the father, he asketh him, whether he will redeem it or not? who answereth him, saying, see, here is gold and silver, take your own price; then saith the priest unto him, you will redeem it then? the father answereth, I will redeem it; it shall be so then, saith the priest, this child is mine as being the firstborn, as it is written, ( Numbers 18:16 ) . I therefore take this in exchange and so he takes the sum of two French crowns, or thereabout, as he thinks good, and then delivers the child to his father and mother, and this day they make a feasting day.''
This custom was used in Christ's time, and was observed with respect to him, ( Luke 2:27 ) .
FOOTNOTES:

F9 History of the Jews, par. 4. c. 9. sect. 2.

Exodus 13:15 In-Context

13 You must redeem every firstborn of a donkey with a flock animal, but if you do not redeem it, break its neck. However, you must redeem every firstborn among your sons.
14 "In the future, when your son asks you, 'What does this mean?' say to him, 'By the strength of [His] hand the Lord brought us out of Egypt, out of the place of slavery.
15 When Pharaoh stubbornly refused to let us go, the Lord killed every firstborn [male] in the land of Egypt, from the firstborn of man to the firstborn of livestock. That is why I sacrifice to the Lord all the firstborn of the womb that are males, but I redeem all the firstborn of my sons.'
16 So let it be a sign on your hand and a symbol on your forehead, for the Lord brought us out of Egypt by the strength of His hand."
17 When Pharaoh let the people go, God did not lead them along the road to the land of the Philistines, even though it was nearby; for God said, "The people will change their minds and return to Egypt if they face war."
Holman Christian Standard Bible ® Copyright © 2003, 2002, 2000, 1999 by Holman Bible Publishers.  Used by permission.  All rights reserved.