You really think so? In a way, it almost seems worse than Vietnam. At least we attempted an airlift in Vietnam to get our allies out. In this case, it looks like we got caught completely unprepared and we left many of the translators and guides who assisted us for the last 20 years for dead.
Biden really did make the right decision of ending the war. The problem with the war was, it was never going to end no matter what. We all know from news reports that the terrorists in Afghanistan mostly originated from Pakistan. Basically the war in Afghanistan was always defensive, basically preventing more Pakistani terrorists from coming in. However, do so would not end the creation of new terrorists as the war had no affect on the recruitment of new terrorists in Pakistan.
There are many that claim Bush should have gone after Pakistan instead of Afghanistan. That too however has a problem, unlike Iraq and Afghanistan when US invaded, Pakistan already had nuclear missiles and weaponry. Basically attacking Pakistan would have either started Cold War II or even a nuclear war. The US really made a bad decision during the cold war for supporting Pakistan. It was that support to Pakistan that caused it to have the nuclear weapons that it has.
In fact, it was only in the 21st century did U.S. stopped backing Pakistan, and by now has started to back India.
Saying invading Pakistan and setting up a new government may end majority of terrorism in the Middle East may sound easy, but it's not. In my opinion, the level of difficulty would probably be even more than that of Vietnam.