Here is a question of history for those who study the subject. We know that no foreign power has been able to win a war in Afghanistan going all the way back to Alexander. Has anyone won a foreign war, occupied another land and been able to put down a civilian insurgency? While some occupations have lasted for decades and even longer (Ireland, India), a civilian population that has some sense of a national identity and is willing to fight over it doesn't seem to be easily defeated. I'm thinking that since the rise of nationalism at the end of the Middle Ages, these kinds of military occupations have not met with much success. Sooner or later, the occupying power has to tuck its tail between its legs and go home.
The only exceptions I can think of would be the conquest of Indians in the Americas. In the case of the Aztecs, Mayans and the Incas, Europeans conquered ruling aristocracies that were extremely oppressive of the civilian populations who probably wished their rulers gone in the first place and didn't mourn much over their demise. In North America, there was no nationalism and a lot of independent tribal groups who were basically conquered one group at a time with little support or help from other tribes and with no international support once we pushed the British out of the Ohio River Basin and the Great Lakes areas. Even then, it took a totally ruthless policy of genocide and starvation that lasted for more than a century to succeed against a population that was divided, hugely outnumbered and centuries behind in technology.
The Mongols did take China, but to the average Chinese peasant, things didn't change much. One set of dynasties simply replaced another set. Eventually, the ruling Mongols became Chinese themselves in a sort of reverse occupation.
Our own American Revolution should have taught a permanent lesson about trying to occupy a land with a population that doesn't want to be occupied. The British experiences in Ireland and India should have taught further lessons, not to mention the entire period of Imperial European occupation in Africa. Vietnam should have put an end to such adventurism, but we still persist in trying to do the impossible. How often are we going to keep doing the same thing and expecting a different result before we realize the insanity inherent in that?

