Galatians 3:22-23

22But the Scripture a  imprisoned everything under sin, so that b  the promise by faith in Jesus Christ might be given c  to those who believe.

23Now before faith came, we were held captive under the law d  imprisoned until the coming faith would be revealed.
Copyright information for ESV