Given that it is essentially a proxy war between the US and Russia, its quite possible the war could end without either side actually "winning".
Obviously the US will continue to support the war for as long as possible, and if that means turning ukraine to ash and destroying the economies of western europe, well that is a price they are willing to pay.
There are still shortages in Russia and if the gas and electricty shortages continue through winter that could be devastating in Russia. It wouldn't take that much to tip the country into chaos, what the response of the Russian govt to Ukraine would be - possibly using their really large missiles that can wipe out a whole village - is completely unknown.
We don''t really understand the mentality of the Ukraine govt. The fact that many western weapons seem to go missing before they reach the front and the coincidence of the Azerbaijan getting a pile of muntions just after deliveries to Ukraine may indicate that the aims of the Ukraine govt may not totally align with those of western europe.
Compare with the level of support israel has got. You can be certain people in Ukraine are.