Romans 7:13

Did that which is good, then, become death to me? Certainly not! But it was sin, working death in me through what is good, in order that sin might be recognized as sin, so that through the commandment sin might become sinful beyond measure.

Romans 7:8-11

But sin, finding opportunity by the commandment, produced in me all kinds of covetous desire. For apart from the law sin lies dead.

James 1:13-15

Let no one say when he is tempted, "I am being tempted by God"; for God cannot be tempted by evil, and he himself does not tempt anyone.

Romans 5:20

Law came in, that the trespass might increase. But where sin increased, grace abounded all the more,

Romans 8:3

For what the law could not do, in that it was weakened through the flesh, God did by sending his own Son in the likeness of sinful flesh, and for sin: he condemned sin in the flesh,

Galatians 3:21

Is the law then opposed to the promises of God? Certainly not! For if a law had been given which could impart life, then righteousness would indeed have come by the law.

Treasury of Scripture Knowledge

Summary

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.

General references

Bible References

Then

Romans 8:3
For what the law could not do, in that it was weakened through the flesh, God did by sending his own Son in the likeness of sinful flesh, and for sin: he condemned sin in the flesh,
Galatians 3:21
Is the law then opposed to the promises of God? Certainly not! For if a law had been given which could impart life, then righteousness would indeed have come by the law.

But sin

Romans 7:8
But sin, finding opportunity by the commandment, produced in me all kinds of covetous desire. For apart from the law sin lies dead.
Romans 5:20
Law came in, that the trespass might increase. But where sin increased, grace abounded all the more,
James 1:13
Let no one say when he is tempted, "I am being tempted by God"; for God cannot be tempted by evil, and he himself does not tempt anyone.

General references

James 4:17
Therefore, to one who knows the right thing to do and does not do it, to him it is sin.