1 Timothy 1:8

But we know that the law is good if one uses it lawfully;

Romans 7:16

But if what I wish not this I do, I consent to the law that it is good;

Romans 7:12-13

The law therefore is holy, and the commandment holy and righteous and good.

Romans 7:18

For I know that in me, that is in my flesh, there dwells no good. For to wish is present with me, but to do the good is not;

Romans 7:22

for I consent to the law of God as to my inward man, [my soul],

Romans 12:2

and be not conformed to this life, but be transformed by the renewing of the mind, that you may prove what is the will of God which is good and well-pleasing and perfect.

Galatians 3:21

Is the law then against the promises of God? By no means. For if a law had been given, able to give life, righteousness would really have been by the law;

2 Timothy 2:5

And if a man contends as an athlete, he is not crowned unless he contends lawfully.

Treasury of Scripture Knowledge

Summary

But we know that the law is good, if a man use it lawfully;

Lawfully

Bible References

The law

Romans 7:12
The law therefore is holy, and the commandment holy and righteous and good.
Romans 12:2
and be not conformed to this life, but be transformed by the renewing of the mind, that you may prove what is the will of God which is good and well-pleasing and perfect.
Galatians 3:21
Is the law then against the promises of God? By no means. For if a law had been given, able to give life, righteousness would really have been by the law;

Lawfully

2 Timothy 2:5
And if a man contends as an athlete, he is not crowned unless he contends lawfully.