Galatians 3
21 Ref Is the law then against the promises of God? Certainly not! For if there had been a law given which could make alive, most assuredly righteousness would have been of the law.
22 Ref But the Scriptures shut up all things under sin, that the promise by faith in Jesus Christ might be given to those who believe.