I think Ukraine can beat Russia eventually, but I am honestly afraid of Russia's capabilities in the next war. This war will create many veterans and Putin fanatics, so next time Russia will be a lot more capable. Just goes to show that countries like Finland and Georgia need to find a safe zone.
Maybe their Economy will be too much in shambles to support such a war machine, but you never know.