Every kid deals with this at some point, to varying degrees, because everyone likes to win, and nobody likes to lose.
I think we mostly dealt with this through playing with DD8. Board and card games in particular can be helpful here, especially ones that involve a great deal of random luck, so anyone can win or lose based entirely on factors beyond their control.
- She got to experience winning and losing.
- We modeled being a good sport, both winning and losing.
- We also modeled good sportsmanship by giving her good advice, even when it hurt our own chances of winning.
- If she cheated, we quit playing.
Etc.
She still has the occasional meltdown when she's losing, but she's come a loooooooong way.