The concept of "liberte, egalite, fraternity" is foreign to a part of the world that has only known conquest and tyrants for centuries. There are no Washingtons, Jeffersons, or Dantons in the Middle East or Southwest Asia because that sort of figure is an anathema to that culture. One of the things I learned over there as a student traveler in the mid-90s that made me despair for any real, lasting solution to the violence was that family and clan mean more than national identity. Under those circumstances, it is difficult to impossible to get people to rally behind a national flag, although Daesh had no trouble getting people to rally behind theirs because while it meant conquest and tyrannical rule, it was also an appeal to ancient family lines and traditions. Therefore, I was not surprised when the Iraqi army, trained and equipped by the Americans, abandoned their Abrams tanks and heavy emplacements at the mere sight of a bunch of guys in Toyota mini-trucks spray-painted in camo.
Is it frustrating? Of course. It wasn't going to happen any other way, unfortunately.