This proverb is thought to originate from the early belief that sleeping with dogs would spread fleas throughout one’s house.