If you would draw a card while your library has no cards in it, you win the game instead.