وَإِذْ يَعِدُكُمُ اللَّهُ إِحْدَى الطَّائِفَتَيْنِ أَنَّهَا لَكُمْ وَتَوَدُّونَ أَنَّ غَيْرَ ذَاتِ الشَّوْكَةِ تَكُونُ لَكُمْ وَيُرِيدُ اللَّهُ أَن يُحِقَّ الْحَقَّ بِكَلِمَاتِهِ وَيَقْطَعَ دَابِرَ الْكَافِرِينَ (7)
(8:7) And recall when Allah promised you that one of the two hosts would fall to you, *5 and you wished that the one without arms should fall into your hands. *6 But Allah sought to prove by His words the truth to be true and to annihilate the unbelievers to the last remnant
*5). God's promise was that the Muslims would be able to overcome whichever of the two parties they wished to attack - the trading caravan or the Quraysh army.
*6). This refers to the trading caravan which had some 30 to 40 armed guards for protection.