Do someone a good turn

Meaning: To do something helpful or kind for someone.

Example: She did me a good turn by recommending me for the position.