Correct, Dementia-Man Trump signed over Afghanistan to the Taliban in a meeting which did not include the Afghan government which we (America, that is) had spent 20 years crafting from scratch.
On top of that, as a bonus, Trump had 5000 - that's FIVE THOUSAND - Taliban terrorists released from prison.
The deal, of course, included leaving behind weaponry for the Afghan Army, which immediately dissolved and ran away upon the Taliban taking control of the country as per Trump's treaty.