come up trumps

US /kʌm ʌp trʌmps/
UK /kʌm ʌp trʌmps/
"come up trumps" picture
1.

to produce a good and unexpected result, especially when it is needed

:
When we needed extra funds, the charity event really came up trumps.
Despite the initial difficulties, the team came up trumps and won the championship.