Pretty much by the world, including US.
For starter, there is no way the Taliban could wield weapons systems beyond modified Toyota trucks. Like it or not, at the risk of being politically incorrect, they ain't that smart.
Next, the Iraqi military was a formal military and did received enough Soviet weaponry to become that kind of military. Since Iraq received no help from the Soviet Union and China during Desert Storm and was defeated, whose fault is/are that? With Ukraine, the EU is in the immediate geographical proximity and able, with the US, rendered assistance. So why no one else besides the Soviet Union and China helped Iraq? The 'If' you are positing is at best academic and no one would use in planning their national security policy.
Desert Storm was not formulated for Iraq. How the US and allies executed their roles came from the Cold War. Now it is clear that the Russian military have a rather disdainful view of airpower, as in how shiddy was the VKS, US/NATO airpower would own the airspaces over all battlefields. That 'Highway of Death' in Iraq? How about the 'Highway of Death' in Ukraine outside of Kyiv? There would be no famous 'Left Hook' like in Iraq, but there would be something similar the B-52s would give to Russian troops.
That argument is so stale it could be used for salad croutons. No military academies uses hope to teach their students because hope is exactly what you said. That if you face the US, you can hope that someone more powerful will help you and you will sort of 'defeat' the US after you suffer great casualties and the US eventually got tire of the war and just leave.