同流合污

tóngliú
to wallow in the mire with sb (idiom); to follow the bad example of others

CEDICT

to commit evil deeds together with the contemptible and evil people

Wiktionary

Entry Composition