Job 31:11 (ESV)

11 For that would be a heinous crime; that would be an iniquity to be punished by the judges;

Job emphasizes the shamefulness of adultery. It is an act that deserves indictment in court (see Leviticus 20:10; Deuteronomy 22:22).