rise to the occasion
US /raɪz tu ðə əˈkeɪʒən/
UK /raɪz tu ðə əˈkeɪʒən/

1.
to show that you can deal with a difficult situation successfully
:
•
Despite the pressure, she managed to rise to the occasion and deliver a brilliant speech.
•
When the team needed him most, the captain truly rose to the occasion.