Galatians 3:23 KJV

23 But before faith came , we were kept under the law, shut up unto the faith which should afterwards be revealed .