Jesus told some Pharisees that two laws summed up all the Law given to Moses and all that the Prophets had to say about that Law. Being conscious of those two laws under the influence of the Holy Spirit will lead us in greater righteousness than full obedience to the Law and the Prophets could.
When the Pharisees heard that He had silenced the Sadducees, they came together in the same place. And one of them, an expert in the law, asked a question to test Him: “Teacher, which commandment in the law is the greatest?”
He said to him, “Love the Lord your God with all your heart, with all your soul, and with all your mind. This is the greatest and most important commandment. The second is like it: Love your neighbor as yourself. All the Law and the Prophets depend on these two commandments.”
(Matthew 22:34-40 Holman Christian Standard Bible ®©)
“The Law and the Prophets were until John; since then, the good news of the kingdom of God has been proclaimed, and everyone is strongly urged to enter it. But it is easier for heaven and earth to pass away than for one stroke of a letter in the law to drop out.”
(Luke 16:16-17 Holman Christian Standard Bible ®©)
Then He told them, “These are My words that I spoke to you while I was still with you—that everything written about Me in the Law of Moses, the Prophets, and the Psalms must be fulfilled.” Then He opened their minds to understand the Scriptures.
(Luke 24:44-46 Holman Christian Standard Bible ®©)