historically, I can't think of a single time an occupation has ever worked in the long term.
I guess Spain/Portugals occupation of south america.... kind of.
how about the occupation of the republic of texas.....
how about the occupation of most of the western united stated due to manifest destiny..... (including California)
how about the occupation of Japan by the US after WWII, including a sizable investment in rebuilding the country.....
the biggest problem is that the occupied country is full of uneducated people who have never had the chance to know anything different.
Their leaders have always used the only thing they had, religious and political hatred of the United States and other countries of similar makeup to brainwash the inhabitants into believing that their lack of "things" is the fault of theses western countries.
very similar to what the eastern bloc countries tried to do during the cold war.
the people in the eastern bloc were eventually able to see the error and lies that they were being fed by their leaders and understand that the "enemy" wasn't the one causing their poor living, but rather those same leaders who were, in much the same way as middle eastern "leaders" do, hording the wealth and privilege for themselves.
until the local inhabitants are willing to look past the rhetoric that they have been fed for a hundred years and longer, and realize that the "leaders" of their countries are doing more to harm them and hold them down than any outside country ever has, they will continue to end up living in squalor and virtual slavery to their leaders.
These leaders use their "religious purity" to hold women in servitude and dangle the carrot of "power" to the men they hold in servitude.
until that changes (and it is starting as people realize that certain things are not only self-destructive, but basically ignorant), these countries will remain much the same as they currently are, and their people will remain the "fodder" for their leaders to use as they see fit.