Guys, being more 'technically advanced' than the enemy is less important in many respects, even if it can be measured (and here I am less sure on that point). Afghanistan was the graveyard of the British in the 19th century, and of the Russians in the 20th century; and then there was Vietnam which defeated both France and later the USA. These are but a few examples of cases where the determination of less technically advanced people were able to defeat better equipped armies that were perhaps less prepared or less willing to give up their lives for a cause.
As others have suggested it is not just having the technology or even the knowledge of its use, but also that mixture of psychologial make-up together with the appropriate political, religious and military leadership that gives the army its cohesion and edge - and sufficient numbers of course

 As Sun Tzu said, you need to know the strengths and weaknesses of your own forces as much as those of your enemy. Perhaps a description of 18th century Russian soldiers gives another example :- "The physical and mental attributes of the Russians are such as to make them the best people of all for war. They are long-enduring, tough and insensitive, and find it easy to withstand the hardships of campaigning. They devour great quantities of raw and uncooked food, they drink spirits like water, and their physical constitution is so hard that they bathe in rivers in the coldest weather (anon - 1758; Christopher Duffy "The military experience in the age of reason").
The point is that you need to have the tools, knowledge and willingness to use them, together with the appropriate logistics to supply and move the army, leadership and political acumen etc to employ it and the support of the populace to fill the ranks.