22 Then it was time for their purification offering, as required by the law of Moses after the birth of a child; so his parents took him to Jerusalem to present him to the Lord. 23 The law of the Lord says, "If a woman's first child is a boy, he must be dedicated to the Lord ."
Matthew Henry's Commentary on Luke 2:22-23
Commentary on Luke 2:21-24
(Read Luke 2:21-24)
Our Lord Jesus was not born in sin, and did not need that mortification of a corrupt nature, or that renewal unto holiness, which were signified by circumcision. This ordinance was, in his case, a pledge of his future perfect obedience to the whole law, in the midst of sufferings and temptations, even unto death for us. At the end of forty days, Mary went up to the temple to offer the appointed sacrifices for her purification. Joseph also presented the holy child Jesus, because, as a first-born son, he was to be presented to the Lord, and redeemed according to the law. Let us present our children to the Lord who gave them to us, beseeching him to redeem them from sin and death, and make them holy to himself.