So?
You can never defeat a guerilla opponent unless you are willing to cut off the source of his supplies and new recruits. Otherwise, so long as he has a base, there will always be new guerillas.
We needed to go to N. Vietnam to defeat the Viet Cong (and we didn’t do it, so we fought a war of attrition);
and we need to go to Pakistan to shut down the madrasses, and close out the Taliban
otherwise there will always be new Taliban coming at us.