guerilla warfare almost defeated the americans in iraq and afghanistan , its proof that a vastly superior army can at least be given a run for its money by technologically limited opponents , peter said .