Brothers, my heart’s desire and prayer to God for them is that they may be saved. For I bear them witness that they have a zeal for God, but not according to knowledge. For, being ignorant of the righteousness of God, and seeking to establish their own, they did not submit to God’s righteousness. For Christ is the end of the law for righteousness to everyone who believes. Romans 10:1–4, ESV
I am sure when our Lord told His disciples on the Mount of Olives (Matthew 5:14–16), “You are the light of the world. A city set on a hill cannot be hidden. Nor do people light a lamp and put it under a basket, but on a stand, and it gives light to all in the house. In the same way, let your light shine before others, so that they may see your good works and give glory to your Father who is in heaven…”, that there were some who were getting the idea that the way of our Lord was some form of works righteousness that was at a higher, but better level than that of the Scribes and Pharisees who were all about legalism.
Some today still have that idea. However, He followed that statement with this one in vv 17-20:
“Do not think that I have come to abolish the Law or the Prophets; I have not come to abolish them but to fulfill them. For truly, I say to you, until heaven and earth pass away, not an iota, not a dot, will pass from the Law until all is accomplished.
Therefore whoever relaxes one of the least of these commandments and teaches others to do the same will be called least in the kingdom of heaven, but whoever does them and teaches them will be called great in the kingdom of heaven. For I tell you, unless your righteousness exceeds that of the scribes and Pharisees, you will never enter the kingdom of heaven.”
So, what was our Lord teaching here? He wasn’t teaching us to follow legalism, that is, that our righteousness is somehow obtained by a strict adherence to the Law of Moses was He? Paul was very clear in the book of Galatians that no one ever obtained the righteousness of God that way.