The following excerpt is taken from Poor Richard’s Almanac, 1773, by Benjamin Franklin:

“He that lies down with Dogs, shall rise up with fleas.”