After three years of war, Ukraine is desperately short of soldiers, especially infantry. This has made it easier for Russia’s army to advance in the east. There are structural issues too. New brigades have been built from scratch. They performed poorly. Ukraine’s president, Volodymyr Zelenskyy, recently ordered a change in policy, with inexperienced recruits integrated into existing battalions.
I dont think the war was ever about really winning, it was about who could bankrupt who the most.
In terms of territory I think Russia might have won, but in terms of financial distress… hard to say.