idiom
come out on top
Meaning
to be the best or most successful in a situation
Example
Despite the competition, she **came out on top**.