Given Russia’s superior military capabilities this is a war that Ukraine cannot win, at least not by military means. The alternatives are to make a deal with whatever terms are possible or to continue the struggle for a long time, hoping that inflicting a high cost on Russian forces will eventually turn Russians against their government’s adventure. The former will lead to the collapse of the Ukrainian government. The latter will take a very long time at best and result in huge numbers of civilian casualties.