Pharisees didn't actually do/keep/perform the righteousess of the Law of God, they transgressed it, because they were not born again, as Jesus hath said was the need for even Nicodemus [John 3 KJB]:
Matthew 15:2 KJB - Why do thy disciples transgress the tradition of the elders? for they wash not their hands when they eat bread.
Matthew 15:3 KJB - But he answered and said unto them, Why do ye also transgress the commandment of God by your tradition?
Matthew 15:6 KJB - And honour not his father or his mother, he shall be free. Thus have ye made the commandment of God of none effect by your tradition.
Mark 7:3 KJB - For the Pharisees, and all the Jews, except they wash their hands oft, eat not, holding the tradition of the elders.
Mark 7:5 KJB - Then the Pharisees and scribes asked him, Why walk not thy disciples according to the tradition of the elders, but eat bread with unwashen hands?
Mark 7:8 KJB - For laying aside the commandment of God, ye hold the tradition of men, as the washing of pots and cups: and many other such like things ye do.
Mark 7:9 KJB - And he said unto them, Full well ye reject the commandment of God, that ye may keep your own tradition.
Mark 7:13 KJB - Making the word of God of none effect through your tradition, which ye have delivered: and many such like things do ye.
Galatians 1:14 KJB - And profited in the Jews' religion above many my equals in mine own nation, being more exceedingly zealous of the traditions of my fathers.
Colossians 2:8 KJB - Beware lest any man spoil you through philosophy and vain deceit, after the tradition of men, after the rudiments of the world, and not after Christ.
God:
Exodus 20:6 KJB - And shewing mercy unto thousands of them that love me, and keep my commandments.
Deuteronomy 5:10 KJB - And shewing mercy unto thousands of them that love me and keep my commandments.
Leviticus 22:31 KJB - Therefore shall ye keep my commandments, and do them: I am the LORD.
Moses:
Deuteronomy 6:17 KJB - Ye shall diligently keep the commandments of the LORD your God, and his testimonies, and his statutes, which he hath commanded thee.
Deuteronomy 11:1 KJB - Therefore thou shalt love the LORD thy God, and keep his charge, and his statutes, and his judgments, and his commandments, alway.
The Holy Ghost through Nehemiah said:
Nehmiah 1:9 KJB - But if ye turn unto me, and keep my commandments, and do them; though there were of you cast out unto the uttermost part of the heaven, yet will I gather them from thence, and will bring them unto the place that I have chosen to set my name there.
The Holy Ghost through the psalmists said:
Psalms 78:7 KJB - That they might set their hope in God, and not forget the works of God, but keep his commandments:
Psalms 89:31 KJB - If they break my statutes, and keep not my commandments;
Psalms 103:18 KJB - To such as keep his covenant, and to those that remember his commandments to do them.
Psalms 119:60 KJB - I made haste, and delayed not to keep thy commandments.
Psalms 119:115 KJB - Depart from me, ye evildoers: for I will keep the commandments of my God.
The Holy Ghost through Solomon said:
Proverbs 3:1 KJB - My son, forget not my law; but let thine heart keep my commandments:
Proverbs 4:4 KJB - He taught me also, and said unto me, Let thine heart retain my words: keep my commandments, and live.
Proverbs 7:1 KJB - My son, keep my words, and lay up my commandments with thee.
Proverbs 7:2 KJB - Keep my commandments, and live; and my law as the apple of thine eye.
Ecclesiastes 12:13 KJB - Let us hear the conclusion of the whole matter: Fear God, and keep his commandments: for this is the whole duty of man.
The Holy Ghost said throuh Isaiah:
Isaiah 51:7 KJB - Hearken unto me, ye that know righteousness, the people in whose heart is my law; fear ye not the reproach of men, neither be ye afraid of their revilings.
The Holy Ghost through Daniel said:
Daniel 9:4 KJB - And I prayed unto the LORD my God, and made my confession, and said, O Lord, the great and dreadful God, keeping the covenant and mercy to them that love him, and to them that keep his commandments;
Christ Jesus said:
Matthew 3:15 KJB - And Jesus answering said unto him, Suffer it to be so now: for thus it becometh us to fulfil all righteousness. Then he suffered him.
Matthew 5:17 KJB - Think not that I am come to destroy the law, or the prophets: I am not come to destroy, but to fulfil.
Matthew 19:17 KJB - And he said unto him, Why callest thou me good? there is none good but one, that is, God: but if thou wilt enter into life, keep the commandments.
John 14:15 KJB - If ye love me, keep my commandments.
Exodus 20:6 KJB - And shewing mercy unto thousands of them that love me, and keep my commandments.
John 15:10 KJB - If ye keep my commandments, ye shall abide in my love; even as I have kept my Father's commandments, and abide in his love.
Paul said:
Romans 2:27 KJB - And shall not uncircumcision which is by nature, if it fulfil the law, judge thee, who by the letter and circumcision dost transgress the law?
Romans 8:4 KJB - That the righteousness of the law might be fulfilled in us, who walk not after the flesh, but after the Spirit.
Galatians 6:2 KJB - Bear ye one another's burdens, and so fulfil the law of Christ.
1 Corinthians 7:19 KJB - Circumcision is nothing, and uncircumcision is nothing, but the keeping of the commandments of God.
Galatians 5:6 KJB - For in Jesus Christ neither circumcision availeth any thing, nor uncircumcision; but faith which worketh by love.
Galatians 6:15 KJB - For in Christ Jesus neither circumcision availeth any thing, nor uncircumcision, but a new creature.
James said, quoting scripture:
James 2:8 KJB -
If ye fulfil the royal law according to the scripture, Thou shalt love thy neighbour as thyself, ye do well:
James 1:25 KJB - But whoso looketh into
the perfect law of liberty, and continueth therein, he being not a forgetful hearer, but a doer of the work, this man shall be blessed in his deed.
James 2:12 KJB - So speak ye, and so do, as they that
shall be judged by the law of liberty.
Psalms 119:44 KJB - So shall I keep thy law continually for ever and ever.
Psalms 119:45 KJB - And I will walk at liberty: for I seek thy precepts.
Psalms 19:7 KJB - The law of the LORD is perfect, converting the soul: the testimony of the LORD is sure, making wise the simple.
John said:
1 John 2:3 KJB - And hereby we do know that we know him, if we keep his commandments.
1 John 3:22 KJB - And whatsoever we ask, we receive of him, because we
keep his commandments, and do those things that are pleasing in his sight.
1 John 5:2 KJB - By this we know that we love the children of God, when we love God, and keep his commandments.
1 John5:3 KJB - For this is the love of God, that we keep his commandments: and his commandments are not grievous.
The Holy Spirit through John said:
Revelation 12:17 KJB - And the dragon was wroth with the woman, and went to make war with the remnant of her seed, which keep the commandments of God, and have the testimony of Jesus Christ.
Revelation 14:12 KJB - Here is the patience of the saints: here are they that keep the commandments of God, and the faith of Jesus.
Revelation 22:14 KJB - Blessed are they that do his commandments, that they may have right to the tree of life, and may enter in through the gates into the city.