In the company of your friends, you lose your centeredness. Your enemy puts you back in yourself. Your friend sympathizes with you and makes you believe in matter. Your enemy makes you feel helpless and takes you to the spirit. So your enemy is your friend and your friend is your enemy!
Krishna said to Arjuna: One who is unfriendly everywhere (including himself); his consciousness is stable and awareness is established.