Certain objectives were met.
Al Qaeda isn't a thing anymore. In fact, who really fears Fundamentalist Islam right now? Western Right-Wingers are the bigger threat TBH.
That being said, If I was an Afghanistan vet, it would feel like my sacrifices were for nothing. I can imagine a WW1 vet feeling the same way as Blitzkreig steamed across Western Europe.