I almost agree wholeheartedly with Patrick Cockburn on this:
The four wars fought in Afghanistan, Iraq, Libya and Syria over the past 12 years have all involved overt or covert foreign intervention in deeply divided countries. In each case the involvement of the West exacerbated existing differences and pushed hostile parties towards civil war. In each country, all or part of the opposition have been hard-core jihadi fighters. Whatever the real issues at stake, the interventions have been presented as primarily humanitarian, in support of popular forces against dictators and police states. Despite apparent military successes, in none of these cases have the local opposition and their backers succeeded in consolidating power and establishing stable states.