It really looks bad until you consider that:
1. The territories in East Ukraine - Donetsk (DPR), Luhansk (LPR), Zaporizhzhia and Kherson - that Russia seeks to annex had a population of around 10+ million in 2022 ( https://www.statista.com/statistics/1295222/ukraine-populati... ).
2. Conservative estimates of the population post-war, and under Russian occupation of Ukrainian territories is around 3.5 million ( https://frontliner.ua/en/nearly-a-fifth-of-the-country-life-... ).
3. Conservative estimate of the population in Crimea (which was annexed in 2014 and thus hasn't seen as much war displacement) is around 2.5 million.
So, if Russia manages to retain the territory it has occupied in Ukraine it is conservatively going to also add 6+ million people to its population. Even disregarding the economic benefits that Russia will accrue from the occupied territories, the cost-benefit analysis just in terms of population gain makes it clear why it is advantageous for the Russians to keep fighting, especially when it already has the advantage.
The large count of Russian deaths at WWII is in large part due to communists killing civilians and then blaming Germans or the war.
It's just a shithole country.
Inb4 "Russia isn't the USSR" - yes it is.