Unless a man be born again of water and the Holy Ghost, he cannot enter into the kingdom of God (John 3:5). Baptism, according to the teaching of the Saints, is the gate of the sacraments and a sacrament of necessity, so that all in the time of the promulgated Gospel are bound to it, provided the opportunity is at hand. And just as those sanctified in the womb in the time of the Mosaic law received circumcision, as is plain concerning the most blessed John the Baptist (Luke 1:15, 59) and Jeremiah (Jer. 1:5), so also if any were sanctified in the womb under the law of the Gospel, they would still have to receive Baptism: both because of the command of Christ; and in order to receive the character by which the baptized person is inwardly conformed to Christ and numbered among His people; and for the increase of grace; and that through bodily baptism they may be configured even bodily to Christ, who suffered and was buried. Hence also the Apostles, cleansed from original guilt in circumcision, are believed to have been baptized by Christ, as the doctors write more fully on this matter on the fourth book of the Sentences and in their Summae. For although circumcision in the written law, and Baptism in the law of the Gospel, were instituted against original sin according to the common course, yet they had, and Baptism still has, other saving effects, on account of which they can befit even those sanctified in the womb.
Hence the most immaculate and best virgin Mary is said to have been baptized with the Baptism of Christ: she who also submitted herself to the law of purification out of obedience and humility. And likewise in order to avoid singularity, lest by avoiding Baptism she should seem to boast of her innocence: especially since her most innocent and most holy Son Christ also received the baptism of St John (Matt. 3:13–16). Likewise, in order to avoid scandal and to set an example, lest any person, however eminent, should refuse the Baptism of the Saviour; and for the increase of grace and virtues and the superabundance of her merits; and in order to receive the impression of the character; and for her fuller exaltation and everlasting glory: because the more amply and deeply she humbled herself, the more gloriously she merited to be exalted.