Galatians 3:23

3:23 But before faith came, we were kept in custody under the law, confined for the faith which should afterwards be revealed.