Plutarch said this quote

Prosperity is no just scale, adversity is the only balance to weigh friends.