King James Version (KJV) - Galatians 3:23 >

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

Berean Study Bible (BSB) - Galatians 3:23 >

Before this faith came, we were held in custody under the law, locked up until faith should be revealed.