The book of Proverbs, which contains many maxims condemning adultery, was written by King Solomon who had 700 wives, 300 concubines, and an affair with the Queen of Sheba.