Language:
Free Online Dictionary|3Dict

认敌为友

Source : CEDICT

to mistake a foe for a friend/to go over to the enemy (idiom)