Bhagavad Gita, Chapter 6, Verse 9
He attains excellence who looks with equal regard upon well-wishers, friends, foes, neutrals, arbiters, the hateful, the relatives, and upon the righteous and the unrighteous alike.
Treating an enemy and a friend with the same basic fairness is named here as genuinely rare and genuinely admirable.
This is a real, high standard, not an easy one. Most people naturally sort others into categories that shape how they're treated, someone who's actually moved past that sorting is described as standing out among people in general.