点を稼ぐ(てんをかせぐ)

Japanese vocabulary

Meaning: to score points with (a person); to curry favor with (favour)

See it used in real works