Is the Law Against the Promises
21 Is the law then against the promises of God? Certainly not! For if there had been a law given which could make alive, most certainly righteousness would have been of the law. 22 But the Scripture imprisoned all things under sin, that the promise by faith in Jesus Christ might be given to those who believe.
The law does not oppose God's promises, but it cannot give life.
Paul asks whether the law is against God's promises and denies it. If a law could give life, righteousness would have come by it. Scripture has shut all things under sin, so that believers might receive the promise.
Paul asks because he knows how his argument sounds. His answer is Certainly not!, the emphatic negative he gave earlier Galatians 2:17. Nothing he has built is a case against the law. Promise and law are not competitors, and a reading that sets them at odds has Paul contradicting himself.
The reason is exact: no law was given that could make alive. The fault lies in the law's capacity, not its standard. Law can require and convict, but it cannot animate. If it had possessed that power, God would have used it.
Instead, the Scripture imprisoned all things under sin. The word is custodial and prepares for the custody and the tutor ahead. The shutting up serves the giving of the promise to those who believe. A prisoner who does not know he is one does not look for a door.
settled What this mark means