Let me just say, I think there's a reasonable criticism to be made of the Obama administration on the way that it left Iraq.
The overriding goal of counterinsurgency is to make friends You make friends with the people; you isolate the insurgents.