fair-weather friend

Fair-weather friend (un amigo que solo está ahí cuando las cosas te van bien)
Fair-weather friend (a friend that is only there when things are going well for you)
Palabra del día
el espantapájaros