Exodus 20:14

The Seventh Commandment is to not commit adultery. Most know the physical act is wrong, but does God confine adultery to just the physical act or does it run deeper than that?