At this point Putin’s goal is pure personal survival. He needs to not lose the war because that would make him look weak, which is very dangerous for a dictator. To keep himself alive and in power he is willing to throw any amount of Russian soldiers into the meat grinder.
Both have the same ultimate cause, as well: politicians safe at home demanding immediate results no matter what it costs.