fair-weather friend

A person who is a friend only when you are successful.
Everyone knows that John's only a fair-weather friend.
Categories: friends {n.}