idiom
fair-weather friend
只有在一切顺利时才是朋友的人
Meaning
a person who is only your friend when things are good
Example
A **fair-weather friend** will leave you when things get tough.
一个**晴天朋友**在事情变得困难时会离开你。