idiom

Come up trumps.

Theme: success Keyword: gambling

means

Produce a successful or helpful result, often unexpectedly.

Example

The volunteers came up trumps when extra help was needed.