The Pharisees were professional religionist. What the law was to the Pharisee Jesus was to the New Testament Christian. The Pharisees even tithed down to the mint in their gardens, Matthew 23:23. They even referred to the law as the way, the truth and the life. John took what the Pharisees said about the law and applied it to Jesus, John 14:6.
There is a lot of pride in law keeping. This is why Jesus fulfilled it, Matthew 5:18 and abolished it, Ephesians 2:15. Paul frequent said, "The Just Shall Live By Faith" Romans 1:17. Living by faith means to live by faith in the doing and the dying of Jesus. Living by faith does not mean living by laws, rules or religion. It means to live by faith in Christ and his Gospel. Those that live by rules, laws and religion are under a curse.
"For as many as are under the works of the law are under a curse" Galatians 3:10.
Paul said that the law was not made for a righteous man, but for the lawless and disobedient, for the ungodly and for sinners, for the unholy and profane, for murders of fathers and murders of mothers, for manslayers, 1 Timothy 1:9.