3:23 {26} But before faith came, we were kept under the law, shut up unto {x} the faith which should afterwards be revealed.
(26) Now there follows another handling of the second part of this epistle, the state of which was this: although the Law (that is, the whole government of God's house according to the Law) does not justify, is it therefore to be abolished, seeing that Abraham himself was circumcised, and his posterity held still the use of Moses' Law? Paul affirms that it ought to be abolished, because it was instituted for that end and purpose, that is should be as it were a schoolmaster, and keeper to the people of God, until the promise indeed appeared, that is to say, Christ, and the Gospel manifestly published with great efficacy by the Spirit.
(x) The reason why we were kept under the Law, is set down here.
3:23 Before faith came, we were kept under the law, shut up. Before the faith was revealed we were confined under the law, as it were in prison, in a state of preparation for
the faith which should afterwards be revealed. The law was added in order to do a work of preparation until the gospel was revealed. See Ga 3:19.
3:23 But before faith - That is, the gospel dispensation. Came, we were kept - As in close custody. Under the law - The Mosaic dispensation. Shut up unto the faith which was to be revealed - Reserved and prepared for the gospel dispensation.
3:23-25 The law did not teach a living, saving knowledge; but, by its rites and ceremonies, especially by its sacrifices, it pointed to Christ, that they might be justified by faith. And thus it was, as the word properly signifies, a servant, to lead to Christ, as children are led to school by servants who have the care of them, that they might be more fully taught by Him the true way of justification and salvation, which is only by faith in Christ. And the vastly greater advantage of the gospel state is shown, under which we enjoy a clearer discovery of Divine grace and mercy than the Jews of old. Most men continue shut up as in a dark dungeon, in love with their sins, being blinded and lulled asleep by Satan, through wordly pleasures, interests, and pursuits. But the awakened sinner discovers his dreadful condition. Then he feels that the mercy and grace of God form his only hope. And the terrors of the law are often used by the convincing Spirit, to show the sinner his need of Christ, to bring him to rely on his sufferings and merits, that he may be justified by faith. Then the law, by the teaching of the Holy Spirit, becomes his loved rule of duty, and his standard for daily self-examination. In this use of it he learns to depend more simply on the Saviour.