Some people may say this proverb is meant to warn people not to associate with someone who is disliked because they might get infected with that person’s bad character. This proverb has been around for many years and likely comes from a common folk belief that if you sleep with dogs you will bring up fleas.