he's smart enough to cut his losses. he's not going to play the game that the americans played in afghanistan and vietnam.  he's making the decisions assad was too immature to make when he had the upper hand. assad is the zelenskyy of the east. if you don't sign a peace agreement when you're in a position of strength, don't be surprised when things changed and you have it forced upon you in far worse conditions by foreign powers in a position of weakness. he should have planned to win the war or sign a peace agreement, idling around idlib was so stupid.
United States