There is only one way to defeat a people occupying land that refuse to leave. You have to kill them all. And since no one is willing to do that type of war anymore, Russia is doomed to lose, it is just a matter of time and money.
Ukraine is doomed to lose. It has run out of fighters and can’t retake land it lost before 2014.