The Ten Commandments is a covenant-not the law. The law is subject to change. Moses kept two saddles- ten commandments put inside the Ark, the law was put beside the Ark. The cross changed everything.
The Lord our God made a covenant with us in Horeb. The Lord did not make this covenant with our fathers, but with us, we who are living now and here today.