Term: frienemisis
Example: keep your friends close, your enemies closer and your frienemisis closest
Definition: a close friend that is also your greatest competition