As per fact checkers; Snopes:
"In early December 2022, we received inquiries from readers who asked if it was true that former U.S. President Donald Trump's administration had previously agreed to an exchange that released 5,000 Taliban prisoners. They also wanted to know if Trump had at one time planned to invite Taliban leaders to Camp David.
We soon found that all of this was true."
Gen. McMaster says Trump bears some responsibility for chaotic Afghanistan withdrawal.
The obvious question becomes: Were any of those 5,000 Taliban prisoners released by Trump involved in the Abbey Gate bombing?