tirer les marrons du feu

Etymology
From the French fable  by.

Verb

 * 1) to pull someone's chestnuts out of the fire to do someone else's difficult work