There are a couple of ways to win a run in Risk of Rain 2. Apart from the obvious one being to beat the final boss of the game, players also have the option to obliterate themselves from existence. It's not clear as to why this is a favorable outcome, but if the game says it is, then so be it.