It doesn't seem to me that "stupidity" can be used to describe country's handling of the war. Maybe lack of a crystal ball, or lack of planning for a first time ever historical event. Who would have thought there would be so many radical Islamists willing to blow themselves up? That type of mismanagement.
http://thesaurus.reference.com/browse/stupidity
Roget's New Millennium™ Thesaurus
Main Entry: indiscretion
Part of Speech: noun
Definition: mistake
Synonyms: bloomer, blooper, bobble, boo-boo, boot, bullheadedness, bumble, crudeness, dumb trick, error, excitability, faux pas, folly, fool mistake*, foolishness, foul-up, gaffe, gaucherie, goof*, hastiness, imprudence, indiscreetness, ingenuousness, lapse, louse up, miscue, misjudgment, misspeak, muck up, naïveté, rashness, recklessness, screw up, simple-mindedness, slip*, slipup, stumble, stupidity, tactlessness, thoughtlessness, unseemliness