Al-Anfâl 8:7
وَإِذْ يَعِدُكُمُ اللَّهُ إِحْدَى الطَّائِفَتَيْنِ أَنَّهَا لَكُمْ وَتَوَدُّونَ أَنَّ غَيْرَ ذَاتِ الشَّوْكَةِ تَكُونُ لَكُمْ وَيُرِيدُ اللَّهُ أَن يُحِقَّ الْحَقَّ بِكَلِمَاتِهِ وَيَقْطَعَ دَابِرَ الْكَافِرِينَ ٧
Waith yaAAidukumu Allahu ihda alttaifatayni annaha lakum watawaddoona anna ghayra thati alshshawkati takoonu lakum wayureedu Allahu an yuhiqqa alhaqqa bikalimatihi wayaqtaAAa dabira alkafireena
And (recall the time) when Allah promised you that dominance and victory over one of the two groups of (the disbelievers of Mecca) would certainly be yours. And you desired that the (group) without weapons (the weaker one) should fall into your hands, but Allah willed to establish the truth by His Words and cut off the roots of the disbelievers (i.e., their might and splendour through the Muslims’ victory over the enemy’s bigger and well-equipped troops), (8:7)