Dispensationalists believe that the Ten Commandment law was a part of the law of Moses, which disappeared with the old covenant. These verses are used to support that false premise. The"law" of verse 8 is undoubtedly associated with the "first" covenant, which is taken away in verse 9. But did that law include the Ten Commandments? Those same sacrifices and sin offerings are described in 2 Chronicles 8:12,13: "Then Solomon offered burnt offerings unto the Lord .... even after a certain rate every day, offering according to the commandment of Moses."
This makes it very plain that the law concerning those burnt offerings--the one mentioned in Hebrews 10:8--was called the commandment or law of Moses. It was apart of the old-covenant system that was taken away by "the offering of the body of Jesus Christ." Verse 10. But please note this important fact: The Ten Commandment law was not a part of that which was done away. Christ is quoted in verse 9 as saying, "Lo, I come to do thy will, O God. He taketh away the first, that he may establish the second." But let's get the full text of what Christ said from Psalm 40:7, 8: "Lo I come .... I delight to do thy will, O my God: yea, thy law is within my heart."
Don't miss this point: The law within the heart of Christ is tied to the second (or new) covenant that was to be established. This is why in verse 16 of Hebrews chapter 10, the new covenant is described in these words: "This is the covenant that I will make .... I will put my laws into their hearts, and in their minds will I write them." The law that was in the heart of Jesus and which did not end with the old covenant is the Ten Commandment law. Magnified by Christ (Isaiah 42:21), it was transferred from the tables of stone to the fleshly tables of the heart.