Then why did Trump pull more than half our troops out while the Taliban were breaking the agreement?
The United States and the Taliban signed an agreement in February 2020 that called for peace talks between the two Afghan sides to start in March. Neg
law.stanford.edu
In accordance with the agreement, the U.S. initially reduced its military presence from 12,000 to about 8,600 troops, and closed several bases, by June. Any further military withdrawal was to be contingent on the Taliban’s compliance with its obligations. The Pentagon recently announced a further reduction down to 2,500 troops before President-elect Biden takes office.
The Taliban ... did launch rocket attacks on U.S. bases in southern Afghanistan in July and August. In addition, despite its counterterrorism pledges under the February deal, the Taliban still seems to maintain close links with Al Qaeda inside Afghanistan.
Taliban’s conduct which, so far, seems to contravene its obligations under the February accord.
It looks like Trump continued to withdraw troops, while the Taliban was in open violation of the terms. So your idea that Trump would have stopped the withdrawal because the Taliban was in violation, is disproved by Trumps own actions.