Luke tells us that The couples we have met – Zechariah and Elisabeth, Joseph and Mary – are devout, obedient and respectful of the Law of God (1:6,37 etc.). So, in line with this, Jesus is circumcised on the 8th day and subsequently presented to the Lord in the temple, given to the Lord as the first born. (Exodus 13:2,12; Numbers 3:13),
They are also fulfilling the law of purification (see Leviticus 12:1-8). Interestingly, for the sin offering and burnt offering, they adhere to the Law which makes provision for the poor: “2 turtle doves or 2 young pigeons” – they could not afford the prescribed lamb. That tells us something of their financial situation, which Jesus was born into.
Later Paul could say, of an obedient, Law-fulfilling Jesus,” for God has done what the law, weakened by the flesh, could not do: sending His own Son in the likeness of sinful flesh and for sin,he condemned sin in the flesh, in order that the just requirement of the law might be fulfilled in us, who walk not according to the flesh but according to the Spirit.” (Romans 8:1-4).
‘By his life Jesus condemned sin and by His death He removed it.’