Ah, but we aren't talking about our many screwups once we got into Iraq.

Aside from the physical resources, once in Iraq the international perception changed from "US kicking terrorist-supporting foreign Arabs out of the 'Stan" to "war on Islam", "war for oil", etc. Inside the US, once Iraq got going Afghanistan was forgotten in the press, unless something really bad happened. Afghanistan just sat and festered.