1. succeed against someone at something or be in an advantageous position
do what it takes to ensure that you come out on top
If someone comes out on top it means that they are more successful than others who are competing or that they are the best or the winner. If you come out on top you finish something in the best position possible. This is an idiomatic expression used in professional and social contexts.