Galatians 3:21

Is the Law then contrary to God's promises? By no means. For if a law had been given that could have brought life, uprightness would really have come through law.

Galatians 2:21

I refuse to nullify the mercy of God. For if uprightness could be secured through law, then Christ died for nothing!

Galatians 2:17

If through our efforts to be made upright through Christ, we have ourselves been proved as much "sinners" as the heathen, does that make Christ encourage sin? By no means.

Matthew 5:17-20

"Do not suppose that I have come to do away with the Law or the Prophets. I have not come to do away with them but to enforce them.

Romans 3:4

By no means! God must prove true, though every man be false; as the Scripture says, "That you may be shown to be upright in what you say, And win your case when you go into court."

Romans 3:6

By no means, for then how could he judge the world?

Romans 3:20-22

For no human being can be made upright in the sight of God by observing the Law. All that the Law can do is to make man conscious of sin.

Romans 3:31

Is this using faith to overthrow law? Far from it. This confirms the Law.

Romans 7:7-13

Then what shall we conclude? That the Law is sin? Certainly not! Yet, if it had not been for the Law, I should never have learned what sin was; I should not have known what it was to covet if the Law had not said, "You must not covet."

Romans 9:31

while Israel, straining after a law that should bring uprightness, did not come up to it.

Romans 10:3-6

For in their ignorance of God's way of uprightness and in the attempt to set up one of their own, they refused to conform to God's way of uprightness.

Galatians 2:19

For it is through the Law that I have become dead to the Law, so that I may live for God.

Philippians 3:6-9

as to my zeal, I was a persecutor of the church; and by the Law's standard of uprightness, no fault could be found with me.

Hebrews 11:7

Faith led Noah, when he was warned by God of things no one then saw, in obedience to the warning to build an ark in which to save his family, and by such faith he condemned the world, and came to possess that uprightness which faith produces.

Treasury of Scripture Knowledge

Summary

Is the law then against the promises of God? God forbid: for if there had been a law given which could have given life, verily righteousness should have been by the law.

General references

Bible References

God forbid

Galatians 2:17
If through our efforts to be made upright through Christ, we have ourselves been proved as much "sinners" as the heathen, does that make Christ encourage sin? By no means.
Romans 3:4
By no means! God must prove true, though every man be false; as the Scripture says, "That you may be shown to be upright in what you say, And win your case when you go into court."

General references

Luke 10:26
Jesus said to him, "What does the Law say? How does it read?"