From the Shorter Catechism

Q. 72. What is forbidden in the seventh commandment?

A. The seventh commandment forbiddeth all unchaste thoughts, words, and actions. Matt. 15:19; Matt. 5:28; Eph. 5:3-4.