Parallel
Galatians 3:23
King James Version (1769 Blayney revision, with Apocrypha) · Berean Standard Bible
But before faith came, we were kept under the law, shut up unto the faith which should afterwards be revealed.
Before this faith came, we were held in custody under the law, locked up until faith should be revealed.