Our righteousness does not come through following the law.
You need to read for understanding!
Yeshua writes his laws on our hearts to bring about righteousness. If we are in adversity to his laws, we are not righteous. Read 1John until it sinks in.
.