“You shall not commit adultery.” [Exodus 20:14, Vg.]
The purpose of this commandment is: because God loves modesty and purity, all uncleanness must be far from us. To sum up, then: we should not become defiled with any filth or lustful intemperance of the flesh. To this corresponds the affirmative commandment that we chastely and continently regulate all parts of our life. But he expressly forbids fornication, to which all lust tends, in order through the foulness of fornication, which is grosser and more palpable, in so far as it brands the body also with its mark, to lead us to abominate all lust.
Man has been created in this condition that he may not lead a solitary life, but may enjoy a helper joined to himself [cf. Genesis 2:18]; then by the curse of sin he has been still more subjected to this necessity. Therefore, the Lord sufficiently provided for us in this matter when he established marriage, the fellowship of which, begun on his authority, he also sanctified by his blessing. From this it is clear that any other union apart from marriage is accursed in his sight; and that the companionship of marriage has been ordained as a necessary remedy to keep us from plunging into unbridled lust. Let us not delude ourselves, then, when we hear that outside marriage man cannot cohabit with a woman without God’s curse. (Institutes, 2.8.41)