How do you interpret that text to support your assertion? — seems to me to contradict it.
We can’t do enough and good enough works to get into heaven.
The Pharisees kept the Law blamelessly and Jesus said our righteousness needed to exceed theirs.
If they couldn’t get into heaven based on works and they did so well at keeping the Law, how can we think we can do it.
The Law was put in charge to lead us to Christ. It never was meant as a means to earn salvation.
If the Law that God instituted among men through Moses was incapable of saving, then any replacement law that men decide to institute is not going to do any better.