And it's not like "McCarthyists" invented the concept of adultery being bad. Almost every major culture developed the concept independently. The Abrahamic religions, Chinese confucianism, Buddhism, and Hinduism had little contact with each other 2,000 years ago, but all developed the notion of adultery as a major moral transgression.