Do (someone’s) bidding

To do what someone else wants.

The principal was able to get the head teacher to do his bidding with the other teachers.