You miss the point. The Saudis and Pakis did it, not the Afghans or Iraqis.
Following our display, each Muslim nation would have been on notice that their theocracies and dictatorships were to be disbanded within 30 days. Failure to comply would result in the destruction of one city per week (with the same 72 hour notice) until there was an agreement.
Nobody ever said that the Afghanis or Iraqis did 9/11. We’re not in Afghanistan to punish them. We’re there because the Taliban refused to hand over Bin Laden, and continues to support terrorist groups and training camps. The invasion of Iraq had nothing to do with 9/11 other than our policy changed after that... Such that we would no longer sit back and watch dangerous men acquire and proliferate massive weapons anymore.