Save the day

To bring about victory or success (when defeat is likely).

The football player saved the day for his team when he played his best game of the season.