well if the Westerners leave Afghanistan without finding a new target, it will derail the military industry which in turn will hurt the pockets of the politicians.
So till a new target is found they will continue to remain there.
With Afghanistan under their occupation, it will be easier to put China dn Russia on the radar as well.