I was hoping you wouldn't find that verse
but it is easily explained. You can become righteous if you can keep it perfectly all the time, and that is impossible. If you want to quote the NT, try Rom 3:23---ALL have sinned and fall short of the glory of God. or Rom 3:10---There is NONE right, not even one. The same thought is echoed in Ps 14 & 53.
No one is perfect as there is no man upon earth who has done only good and never sinned. (Ecclesiastes 7:20) And that includes Jesus who was a man upon earth and has proved that text by breaking the Golden Rule 15 times only
in Mat. 23:13-33.
One sin puts a spot on you and that makes you unacceptable as a sacrifice for sin- You will need a substitute---Behold the Lamb of God who takes away the sin of the world.
Behold the Prophets of the Most High who were inspired by HaShem to teach that no one can die for the sins of another. (Jeremiah 31:30; Ezekiel 18:3, 20.
There is only 1 way for sinners to become righteous. The same way Abraham did---he believe God. WE need to listen to Moses because he tells us what God says is sin, so we can try to avoid sinning. Knowledge of sin was the purpose of the law.
Yes, there is only one way if we listen to "Moses" aka the Law. (Luke 16:29-31) If you obey the Law you will never need to stand in a Court of Law.
Rom 7:7 - What shall we say then? Is the Law sin? May it never be! On the contrary, I would not have come to know win except through the law; for I would not have to come to know coveting if the law had not said, "you shall not covet."
That's the Law aka the Decalogue, Paul abolished against the will of Jesus to promote obedience to it.
We also need to listen to Paul---...the law has become our tutor to lead us to Christ, so that we may be justified by faith(Gal 3:24)
There is no justification in faith not confirmed with the obedience of the Law.
and, ...For if a law had been given that could which was able to impart life, then righteousness would indeed have been based on the law---Gal 3:21
If one obeys the laws he or she would enjoy a life without trouble.