Ukraine will never strike a peace deal if they insist on joining NATO. If they decide not Putin is screwed and will have to pull back. The problem is the economic issues caused by this could go on far longer than they should. The US will be in no hurry to undo sanctions. The whole war was totally ridiculous. Russia incidentally are on the verge of a massive default which will further damage Putin. Unlike what the US are saying I don't think China are giving Putin the kind of help that the US claim. Ukraine are a huge trading partner of China as well.
Westside