"At all times, love a friend, for he is born a brother for adversity," is the translation used in the
Complete Tanach with Rashi's commentary, though the JPS differs.
Rashi's comment on that verse is that a true friend is like a brother when you face adversity.