idiom
save the day
Meaning
to prevent failure or disaster by taking timely action
Example
His quick thinking **saved the day**.