Found on Web Worker Daily:

A wise man associating with the vicious becomes an idiot.