Lose out to (someone or something)

To fail to win, to miss first place in a contest.

Our team lost out to the other team in the soccer tournament.