The entire reason he started this war was for legacy. He wanted to be the dictator that rebuilt the USSR like he always dreamed, and he’s running out of time, so he forced it and dug his heels in.
He does not want to be remembered as the dictator that killed off a generation with nothing to show for it, and set back Russia 100 years.