Is the U.S heading for defeat in Afghanistan?

Terrorist attacks happen all the time… Since when is Mumbai, and all the toher places where India been attacked the tribal areas!!!