Heidelberg Q. 108. What does the seventh commandment teach us?
A. That all unchastity is cursed by God. We must therefore detest it from the heart and live chaste and disciplined lives, both within and outside of holy marriage.

Heidelberg Q. 109. Does God in this commandment forbid nothing more than adultery and similar shameful sins?
A. Since we, body and soul, are temples of the Holy Spirit, it is God's will that we keep ourselves pure and holy. Therefore He forbids all unchaste acts, gestures, words, thoughts, desires, and whatever may entice us to unchastity.