I'd recommend people listen to Dan Harlin's hardcore history lectures. Most of them are free to listen to Youtube. Listen to the podcasts on wars.
Then come back and tell me that wars can be won. It's always the same. In the long arc of history nobody wins. Wars repeat themselves. The whole thing goes on forever. The Afghanistan nation will last longer than the USA. The Afghans have a belief system. The USA is just a conglomeration of rouge multination corporations running the government using fake patriotism (right wing rednecks mostly) and duping them into fighting for the corporations. We're fighting for corporate profits. The Taliban is fighting for a belief system.
Even if we could "beat" the Taliban today, in years they'd be back angrier and more determined than ever. And they'd inspire others to help them.
Remember, when one side treats another side harshly in order to try and break them, the opposite happens. The Germans, badly beaten and demoralized and harshly punished by the Allies, cam back after WW1 with a vengeance. The reason the world got Hitler was because of how beaten the Germans were in WW1. Yeah, the Allies made a great show of beating and demoralizing the Germans in WW1. How'd that work out in the long run?