A lot of people think they have “kept” the 10 Commandments. Never mind the whole law, jot and tittle.
Nobody can even keep the Ten.
Much less anything else.
And then Jesus sets the bar even higher in the Beatitudes and reveals the INTENT of the Law and says that even if you can keep the letter of it, if your heart isn’t right, you’ve still sinned.
It’s interesting the number of people who think they can keep the law and are depending on it when what Paul does is show what the Law REALLY does, and that is, activate sin.
It goes to show, to people with eyes to see, that they can NEVER do enough to attain heaven on their own because the harder they try, the further short they fall.