Galatians 3:23

New American Standard Bible (NASB)
But before faith came, we were kept in custody under the law, being shut up to the faith which was later to be revealed.

Read Galatians 3:23 in other translations