So what are we going to say? That the Law is sin? Absolutely not! But I wouldn't have known sin except through the Law. I wouldn't have known the desire for what others have if the Law had not said, Don't desire to take what others have.
References for Romans 7:7
But sin seized the opportunity and used this commandment to produce all kinds of desires in me. Sin is dead without the Law.
I used to be alive without the Law, but when the commandment came, sin sprang to life,
and I died. So the commandment that was intended to give life brought death.
Sin seized the opportunity through the commandment, deceived me, and killed me.
So the Law itself is holy, and the commandment is holy, righteous, and good.