You win something when you are better or faster at it than everyone else. You win a race when you cross the finish line first. You win an art competition when your picture is better than everyone else's. Your team wins a game like soccer if they score the most goals. And you win an eating competition if you eat more than everyone else.
The opposite of win is lose.