Well, in this specific context, not really.
It would be hard to argue that Afghanistan lost that much. Although I guess they "won" (if you call what happened winning. )
But the "war on terror" wasn't a "traditional war". It wasn't like some landing by foreign forces at Venice Beach. It was a manufactured political construct that served political purposes.
It handily created a jobs program called the TSA. Which is grossly over equipped to confiscate shampoo. All the world has airport security. Very few places have (or need) TSA levels of intrusion.
The "war on terror" was indeed lost. It was lost when the US became "terrified". In all of the troubles the IRA couldn't do that to the UK. Endless bombs just resulted in "carry on".
In the US the war continues all the time. The TSA bears witness to this.
But at this point it employs so many people, doing meaningless, unskilled work, that you may as well treat it as a jobs program.