
Although the biblical text of the Decalogue reads “you shall not commit adultery” (Exodus 20:14), the Tradition of the Church comprehensively follows the moral teachings of the Old and New Testaments and considers the sixth commandment as encompassing all sins against chastity.
Further reading: CCC 2336
494. What is the responsibility of civil authority in regard to chastity?
Insofar as it is bound to promote respect for the dignity of the person, civil authority should seek to create an environment conducive to the practice of chastity. It should also enact suitable legislation to prevent the spread of the grave offenses against chastity mentioned above, especially in order to protect minors and those who are the weakest members of society.
Further reading: CCC 2354