Sirach 12:9

One’s enemies are friendly when one prospers, but in adversity even one’s friend disappears.