Once they, and we, did intervene we should have finished the job.
In fairness, the Afgan Government was pushing for the Americans to leave in 2014.
They refused Obama's request to keep troops there. They must have relented eventually but it's been six years so far of borrowed time.
But their security forces are clearly not up to the job.