Jesus viewed His entire life as a mission to fulfill every single point of the law and to achieve perfect obedience to the commandments of God. His motive was not to keep a list of rules but to do the will of the Father. And the Father clearly expresses His will through His law.