Hi PruePhillip. Do you remember when Yahshua was asked by the young man what good thing he should do to receive eternal life, and do you remember Yahshua's response? He began quoting from the Laws in the Bible, some of which came from the 10 commandments: "And behold, one came to him and said, Teacher, what good thing shall I do, that I may have eternal life? 17 And he said unto him, Why askest thou me concerning that which is good? One there is who is good: but if thou wouldest enter into life, keep the commandments. 18 He saith unto him, Which? And Yahshua said, Thou shalt not kill, Thou shalt not commit adultery, Thou shalt not steal, Thou shalt not bear false witness, 19 Honor thy father and thy mother; and, Thou shalt love thy neighbor as thyself." (Matthew 19)
Yahshua's instruction was perfect and the sermon on the mount shows the perfect character that we should attain to, but that character cannot be obtained without keeping the commandments. The Holy Spirit is a Spirit that works within the confines of the Law as Galatians 5:22-23 shows.