Trump's withdrawal plan was not a "surrender." He had the Taliban in a position where further fighting was a no-win situation. We had to withdraw eventually, and Trump had that planned out. He maintained air and logistic superiority by keeping open Bagram Air Base, from where we could strike them any time. He had convinced the Taliban leaders that should they attack US troops, there would be hell to pay. He also would have retrieved as much of our equipment from Afghanistan, before we left there.
Your inability to discern the difference between Trump's policies and Biden's is understandable, seeing as how you live in a country that just tells you what they want you to believe.