The Ten Commandments are as valid under the New Covenant as they were under the Old. So they have certainly NOT been done away with. Indeed Paul calls "the Law" (with reference to the Ten Commandments) holy, just, good, and spiritual. And these are now written on the hearts and minds of the regenerated under the New Covenant.So these verses make reference to the 10 commandments, the Law of Moses, and actually old testament and say literally it was done away with.
ROMANS 7
7 What shall we say then? Is the law sin? God forbid. Nay, I had not known sin, but by the law: for I had not known lust, except the law had said, Thou shalt not covet. [THIS IS THE 1OTH COMMANDMENT]
8 But sin, taking occasion by the commandment, wrought in me all manner of concupiscence. For without the law sin was dead.
9 For I was alive without the law once: but when the commandment came, sin revived, and I died.
10 And the commandment, which was ordained to life, I found to be unto death.
11 For sin, taking occasion by the commandment, deceived me, and by it slew me.
12 Wherefore the law is holy, and the commandment holy, and just, and good.
13 Was then that which is good made death unto me? God forbid. But sin, that it might appear sin, working death in me by that which is good; that sin by the commandment might become exceeding sinful.
14 For we know that the law is spiritual: but I am carnal, sold under sin.