Tā yǐwéi huàn ge lǎobǎn huì hǎo yìdiǎn, méi xiǎngdào xīn lǎobǎn hé jiù lǎobǎn shì yìqiūzhīhé.
He thought a new boss would be better, but the new boss turned out to be just as bad as the old one.
Tips
history
First recorded in 《汉书·杨恽传》, where the Han official 杨恽 says 古与今如一丘之貉: the past and the present are like raccoon dogs from the same hill. 貉 is the raccoon dog, a fox-like animal that lives in burrows.
usage
Always negative: it lumps people together as equally bad. For the neutral sense of "birds of a feather", use 物以类聚.