synonym of 恥與為伍 /耻与为伍 (chǐyǔwéiwǔ, “to regard the association with a particular person or group as disgrace”)
Wiktionary