James 2:11,12 For he that said, Do not commit adultery, said also, Do not kill. Now if thou commit no adultery, yet if thou kill, thou art become a transgressor of the law.
So speak ye, and so do, as they that shall be judged by the law of liberty.(the ten commandments)
On the other hand it's wrong to keep the law of ordinances, because that would be a denial that the Christ has come.
Colossians 2:14 Blotting out the handwriting of ordinances that was against us, which was contrary to us, and took it out of the way, nailing it to his cross;