ㄑㄩㄧㄢˊㄈㄨˋˋqūyán‑fùshì

趋炎附势
  1. 比喻奉承依附 趨炎附勢潦倒終生」。

to curry favor (idiom)​; playing up to those in power, social climbing