rèn​zéi​zuò​fù

to treat an enemy as a friend