To pull the chestnuts out of the fire for somebody.

为某人把栗子从火里拔出来。