This doctrine of the excellence of virginity and of celibacy and of their superiority over the married state was, as We have already said, revealed by our Divine Redeemer and by the Apostle of the Gentiles; so too, it was solemnly defined as a dogma of divine faith by the holy council of Trent,[Sess. XXIV, can 10] and explained in the same way by all the holy Fathers and Doctors of the Church. Finally, We and Our Predecessors have often expounded it and earnestly advocated it whenever occasion offered. But recent attacks on this traditional doctrine of the Church, the danger they constitute, and the harm they do to the souls of the faithful lead Us, in fulfillment of the duties of Our charge, to take up the matter once again in this Encyclical Letter, and to reprove these errors which are so often propounded under a specious appearance of truth.
– Pius XII, Sacra Virginitas (1954) §32.
If any one saith, that the marriage state is to be placed above the state of virginity, or of celibacy, and that it is not better and more blessed to remain in virginity, or in celibacy, than to be united in matrimony; let him be anathema.
– Ecumenical Council of Trent, Sess. XXIV, can 10.