you win some, you lose some

You win some, you lose some is another way to say that you cant always succeed and you must cope with the fact that although you may win some, you will also inevitably lose some. It is often said to someone who seems discouraged about losing something whether it is a promotion to someone else, losing a game or competition of some kind, or perhaps more figuratively where something bad happened to them.