Romans 7:13

Did then that which was good become for me death? Never! but sin did; that it might be manifest as sin, by that the unutterable malignity of sin might become plain through the commandment.

Romans 7:8-11

But when sin had gained a vantage-ground, by means of the commandment, it stirred up within me all manner of lust; for where there is no law, sin is dead.

James 1:13-15

When he is being tempted, let no one say, "It is God who tempts me," for God cannot be tempted with evil, nor does he tempt any man.

Romans 5:20

Now law was brought in so that transgression might abound; but where sin abounded, grace super-abounded;

Romans 8:3

For God has done what the Law could not do, weakened as it was by flesh. By sending his own Son in the likeness of sinful flesh, and on account of 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 make alive, then righteousness would actually have come from 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 God has done what the Law could not do, weakened as it was by flesh. By sending his own Son in the likeness of sinful flesh, and on account of 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 make alive, then righteousness would actually have come from law;

But sin

Romans 7:8
But when sin had gained a vantage-ground, by means of the commandment, it stirred up within me all manner of lust; for where there is no law, sin is dead.
Romans 5:20
Now law was brought in so that transgression might abound; but where sin abounded, grace super-abounded;
James 1:13
When he is being tempted, let no one say, "It is God who tempts me," for God cannot be tempted with evil, nor does he tempt any man.

General references

James 4:17
So to him who knows how to do right and does not do it, to him it is sin.