Since America has recognized its lies and mistakes for starting a war against Iraq, it should replace all Iraqi armaments for free if it wants to be fair and even pay some extras and pay the rebuilding of Iraq, not to mention to repay all the lost revenues from oil, this should be the outcome, and the same for Afghanistan, now that the whole world knows that Israel was behind the New York 9-11 attacks, it is Israel that should pay for those Iraqi and Afghani losses and ultimately be dismantled.
In the reality of today, Iraq should go for Chinese technology like the J-10 -a few hundred- and add some squadrons of JF-17 from Pakistan, that will be enough for fighter aircraft price and technology wise, with highly trained and motivated pilots, Iraq should mostly go for the best air defences available like the S-400, the Pantsir, the Buk and the Tor systems or their equivalents from China, it should also build a sophisticated small navy with a few sophisticated warships and submarines , they can also get these from China, for the land forces it can by from Europe, the US ,Russia or China, some of the best quality tanks and equipments, and it should start relying on itself for producing and ameliorating these weapons in the future, by building a medium sized heavy industry, produce short and medium range ballistic missiles and cruise missiles, and invest heavily in the human factor in education and R&D.
I am saying this because one can talk as much as he wants but the US didn't face Russia or China, it faced some Russian equipments but in an incomplete war system; against let us say Russia, the US would face live satellite imagery sent to the troops on the ground and the air and sea crews of all the American war machine movements, on the tactical scale, the American air force would face the Russian AWACS information technology used by the Russian pilots, the Americans would also face electronic jamming and electronic warfare at a big scale, in other words they will face defeat eye to eye with an eye for an eye.
So it is not rational to talk about American equipment's superiority while it was tested against a small country with no integrated war systems whatsoever, that just came out of a bloody and exhausting war two years earlier and that was sanctioned to the teeth afterwards, it had all the right ingredients including its flat and dry terrain -since mountain warfare was to be tested in Afghanistan- to be a test bed for some western equipments and technologies, to showcase, test and ultimately sell to the naive world where we live.
End of the story.