1 Brethren, my heart’s desire and my prayer to God for them is for their salvation. 2 For I testify about them that they have a zeal for God, but not in accordance with knowledge. 3 For not knowing about God’s righteousness and seeking to establish their own, they did not subject themselves to the righteousness of God. 4 For Christ is the end of the law for righteousness to everyone who believes. Romans 10:1-4 (NASB)
I am sure when our Lord told His disciples on the Mount of Olives–
14 “You are the light of the world. A city set on a hill cannot be hidden; 15 nor does anyone light a lamp and put it under a basket, but on the lampstand, and it gives light to all who are in the house. 16 Let your light shine before men in such a way that they may see your good works, and glorify your Father who is in heaven. Matthew 5:14-16 (NASB)
–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 another:
17 “Do not think that I came to abolish the Law or the Prophets; I did not come to abolish but to fulfill. 18 For truly I say to you, until heaven and earth pass away, not the smallest letter or stroke shall pass from the Law until all is accomplished. 19 Whoever then annuls one of the least of these commandments, and teaches others to do the same, shall be called least in the kingdom of heaven; but whoever keeps and teaches them, he shall be called great in the kingdom of heaven. 20 “For I say to you that unless your righteousness surpasses that of the scribes and Pharisees, you will not enter the kingdom of heaven. Matthew 5:17-20 (NASB)
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.