The overall German effort caused huge Russian casualties, but they still lost,
https://bigserge.substack.com/p/gotterdammerung-in-the-east
Thats in part because Hitler sacked Heinrici, and then brought him back only at the very last minute.
Besides screwing up in dozens of other ways.
Does this parallel Ukraine's circumstances against Russia? Not really. Russia's autocratic system today is closer to Nazi Germany or Mussolini's Italy than Ukraine's admittedly imperfect democracy.