In the company of your friend, you lose your centredness. It is your enemy that puts you back in your Self.
Your friend sympathizes with you and makes you believe in matter. Your enemy makes you feel helpless and takes you to the spirit. Your enemy is your friend and your friend is your enemy.
In the Bhagwad Gita, Krishna said to Arjuna, “One who is unfriendly everywhere, including to himself, his consciousness is stable and his awareness is established.”