The law of the Lord is perfect and preserves one’s life. The rules set down by the Lord are reliable and impart wisdom to the inexperienced.
There is nothing wrong with the law – the hangup is that we cannot hope to live to its standards. As the rich young ruler left Christ, he was sad even though he had kept the law since his youth. If Christ is the fulfillment of the law, everything in the law is brought to completion in Christ. Believing in the new covenant in Christ removes the requirements of the law, and drives us to obedience and faith in Him. Recognize that in the law trespass increased, and grace increased all the more to reveal to us our need for a savior; that is, Jesus Christ. (Romans 5:20)