fair-weather friend

Definition: someone who is your friend only when the times are good.

Discuss this Idiom in the comments below.