...so that the requirement of the Torah might be fulfilled in us, who do not walk according to the flesh but according to the Ruach.
Romans 8:4 TLV

Yeshua fulfilled the Law by living it out perfectly. His sinless life condemns sinners, but his resurrection condemns the sin itself, enabling its complete removal, so that all who believe in him can begin to live righteous lives in accordance with the Law. His righteousness becomes ours, earning us eternal life as hinted at in Matthew 5:20, and enabling us to walk according to the spirit in agreement with all of the commandments of the Law without fear that any slight mistake will condemn us. He fulfilled the Law so that our fulfillment of it might have greater purpose.