Idiom
curry favor withcurry favor (with someone)
to try to make someone like you or support you by doing or saying things to please them.The candidate has promised lower taxes in an attempt to curry favor with the voters.
Etymology: from the literal meaning of curry (= to clean and brush a horse with a special comb)