damn by association

Verb

 * 1)  To discredit or condemn (someone or something, such as a position) by attacking someone or something associated.