Galatians 3:21-23 Christian Standard Bible (CSB)
21 Is the law therefore contrary to God’s promises? Absolutely not! For if the law had been granted with the ability to give life, then righteousness would certainly be on the basis of the law. 22 But the Scripture imprisoned everything under sin’s power,[a] so that the promise might be given on the basis of faith in Jesus Christ to those who believe. 23 Before this faith came, we were confined under the law, imprisoned until the coming faith was revealed.