The problem with your post is that you’re applying the same motivations to the Ukrainians and Russians.
Ukraine didn’t want or start the conflict. For them, it’s a war of survival not simply a fight to beat Russia.
Other than surrendering their sovereignty, there was simply no other option...