42 Of course, it is not Our intention to deny that Catholic spouses, because of the example of their Christian life, can, wherever they live and whatever be their circumstances, produce rich and salutary fruits as a witness to their virtue. Yet whoever for this reason argues that it is preferable to live in matrimony than to consecrate oneself completely to God, without doubt perverts the right order. Indeed We earnestly wish, Venerable Brothers, that those who have already contracted marriage, or desire to enter this state, be properly taught their serious obligations not only to educate properly and carefully whatever children they have or will have, but also to help others, within their capacity, by the testimony of their faith and the example of their virtue. And yet, as Our duty demands, We cannot but censure all those who strive to turn young people away from the Seminary or Religious Orders and Institutes, and from the taking of sacred vows, persuading them that they can, if joined in marriage, as fathers and mothers of families pursue a greater spiritual good by an open and public profession of their Christian life. Certainly their conduct would be more proper and correct, if, instead of trying to distract from a life of virginity those young men and women, who desire to give themselves to the service of God, too few alas today, they were to exhort with all the zeal at their command the vast numbers of those who live in wedlock to promote apostolic works in the ranks of the laity. On this point, Ambrose fittingly writes: "To sow the seeds of perfect purity and to arouse a desire for virginity has always belonged to the function of the priesthood."
Source: Sacra Virginitas (Vatican.va)