The law of Moses is way more than just the 10 Commandments.
However, let's hold that thought for a moment and examine what the scriptures teach.
Physical circumcision is the first thing.
Then the sacrifice of animals for your sins.
Then there is the food laws, clothing laws, ceremonial washings, feast days as well as sabbath requirements; as in putting a person to death for even picking up sticks to kindle a fire.
Example:
You shall keep the Sabbath, therefore, for it is holy to you. Everyone who profanes it shall surely be put to death; for whoever does any work on it, that person shall be cut off from among his people. Work shall be done for six days, but the seventh is the Sabbath of rest, holy to the LORD. Whoever does any work on the Sabbath day, he shall surely be put to death. Exodus 31:14-15
The law of Moses was the dividing wall of separation, that divided Jews from Gentiles.
Jesus abolished the law of Moses, so as to bring about the one new man in Him.
For He Himself is our peace, who has made both one, and has broken down the middle wall of separation, having abolished in His flesh the enmity, that is, the law of commandments contained in ordinances, so as to create in Himself one new man from the two, thus making peace, and that He might reconcile them both to God in one body through the cross, thereby putting to death the enmity. And He came and preached peace to you who were afar off and to those who were near. For through Him we both have access by one Spirit to the Father. Ephesians 2:14-18
- and has broken down the middle wall of separation, having abolished in His flesh the enmity, that is, the law of commandments contained in ordinances, so as to create in Himself one new man from the two, thus making peace
JLB