have the best of (something)
To be in an advantageous position. We had the best of this game until the opposition tied the score.
have the best of someone or something
to defeat someone or something. I'm afraid you have the best of me. We had the best of the opposite team by the end of the first half.