Bjj is not a team sport, everybody knows that. In a competition, it is always one on one. Just like wrestling, boxing, fighting, etc. There is always one person who wins of the two. But in reality, I feel that both people are benefiting through the match.
Yes one person suffers a "loss" on his record, but the loss really emphasizes what needs to be worked on in the gym.
My very first tournament match I lost because I got stuck in half guard, and then got ankle locked right after.
My grappling game took a huge turn after that day, as I focused almost primarily on developing a better half guard. Oh, and 90% of my victories were also by footlock for at least a full year.
I still have much to work on, but even to this day I emphasize the half guard first for all of my students!
So if you ask me, I am very very glad I lost that match in that way.
Now a slick way to take the back from half guard/reverse de la riva