It certainly was when Obama ordered the surge.
But, like Iraq, the Afghan war achieved every aim we set for it. An inconvenient fact that makes libs spew.
No, it wasn't.
Let's review, shall we? We went into Afghanistan, which means we used our massive airpower to support some tribes against tribes that aligned with the Taliban. then Bush shifted all those resources to get back at Saddam for making his Pappy look bad.
So the Afghanistan War floundered on for 8 years, Bin Laden set up Shop in Pakistan because Bush pretty much stopped looking for him all that hard.
Now, here's where I'm going to be honest and admit Obama fucked up. He pretended we still had an interest in which tribe of Goat-fuckers ruled Afghanistan. We don't. We never did. And when Karzai stole the election in 2009, it kind of blew up our whole "Fighting for Democracy" when they never wanted Democracy to start with.
But Obama went in, Slapped the Taliban around a bit, and stayed longer than the American Public wanted to. Oh, yeah, and he killed Bin Laden. Something Bush largely failed to do.
Now, at some point, these tribes of goat-fuckers are all going to sit down and figure out how they want to run the country after we leave, but that isn't really our problem, is it?