亦敌亦友

yì dí yì yǒu

(idiom) to be both friend and foe to each other; to have a friendly rivalry

also

(bound form) enemy

also

yǒu

friend