From Pope St. John Paul II’s Apostolic Exhortation Familiaris Consortio (1981):
For Christian parents the mission to educate, a mission rooted, as we have said, in their participation in God’s creating activity, has a new specific source in the sacrament of marriage, which consecrates them for the strictly Christian education of their children: that is to say, it calls upon them to share in the very authority and love of God the Father and Christ the Shepherd, and in the motherly love of the Church, and it enriches them with wisdom, counsel, fortitude and all the other gifts of the Holy Spirit in order to help the children in their growth as human beings and as Christians.
The sacrament of marriage gives to the educational role the dignity and vocation of being really and truly a “ministry” of the Church at the service of the building up of her members. So great and splendid is the educational ministry of Christian parents that Saint Thomas has no hesitation in comparing it with the ministry of priests: “Some only propagate and guard spiritual life by a spiritual ministry: this is the role of the sacrament of Orders; others do this for both corporal and spiritual life, and this is brought about by the sacrament of marriage, by which a man and a woman join in order to beget offspring and bring them up to worship God.”101
A vivid and attentive awareness of the mission that they have received with the sacrament of marriage will help Christian parents to place themselves at the service of their children’s education with great serenity and trustfulness, and also with a sense of responsibility before God, who calls them and gives them the mission of building up the Church in their children. Thus in the case of baptized people, the family, called together by word and sacrament as the Church of the home, is both teacher and mother, the same as the worldwide Church.
101 St. Thomas Aquinas, Summa contra gentiles, IV, 58.
— Familiaris Consortio 38