As Octavia pointed out, Trump had Taliban members released from prison - 5000, no less.
Trump made the agreement to withdraw the US Military with the Taliban, not the the Afghan gov't.
If Trump was still in the WH now, he'd be cozying up with his new Taliban terrorist besties so deep, Kim Jung-un would be jealous, and the cult would be creaming like it was the best thing in history.
Oh, and you can thank Reagan for arming them, as he poured billions into supplying Afghan militia weapons.