That was what "Afghanistan" was all about...if all Biden wanted to do was get U.S. troops and citizens out it would have been an piece of cake...the Taliban stood by its word to not attack U.S. personnel (not so for Afghan forces)...btw, reports show that Trump wanted to pull out before he left office...DOD didn't like that.
This whole "Afghanistan Meme" is a fabrication by the GOP...Biden's one fault was that he 'Tried Too Hard' to get as many U.S. friendly Afghanis out of there...right up to the point where ISIS was reforming under the Taliban and was able to detonate a suicide bomb that no one could have stopped...also, the U.S. citizens that stayed were aware of the plans to remove them, but for various reasons they were conflicted and chose to remain...not Biden's fault.