Read Exodus 12:21-28)
That night, when the first-born were to be destroyed, no Israelite must stir out of doors till called to march out of Egypt. Their safety was owing to the blood of sprinkling. If they put themselves from under the protection of that, it was at their peril. They must stay within, to wait for the salvation of the Lord; it is good to do so. In after-times they should carefully teach their children the meaning of this service. It is good for children to ask about the things of God; they that ask for the way will find it. The keeping of this solemnity every year was, 1. To look backward, that they might remember what great things God had done for them and their fathers. Old mercies, to ourselves, or to our fathers, must not be forgotten, that God may be praised, and our faith in him encouraged. 2. It was designed to look forward, as an earnest of the great sacrifice of the Lamb of God in the fulness of time. Christ our passover was sacrificed for us; his death was our life.
For a more detailed summary select the link below.
Exodus 12 Bible Commentary – Matthew Henry (concise) (christianity.com)
Exodus 12:21
21 Then Moses called for all the elders of Israel, and said to them, “Draw out, and take lambs according to your families, and kill the Passover.