His mistake was the way he presented it. He should have waited until Turkey attacked and then announce that he was withdrawing the troops to avoid getting stuck in the middle between the Turks and Kurds.
The only “mistake” President Trump made here was keeping any U.S. military personnel in Syria more than 48 hours after he was inaugurated.