Sirach 12:8

KJV(i) 8 A friend cannot be known in prosperity: and an enemy cannot be hidden in adversity.