وَلَقَدۡ صَدَقَكُمُ ٱللَّهُ وَعۡدَهُۥٓ إِذۡ تَحُسُّونَهُم بِإِذۡنِهِۦۖ حَتَّىٰٓ إِذَا فَشِلۡتُمۡ وَتَنَٰزَعۡتُمۡ فِي ٱلۡأَمۡرِ وَعَصَيۡتُم مِّنۢ بَعۡدِ مَآ أَرَىٰكُم مَّا تُحِبُّونَۚ مِنكُم مَّن يُرِيدُ ٱلدُّنۡيَا وَمِنكُم مَّن يُرِيدُ ٱلۡأٓخِرَةَۚ ثُمَّ صَرَفَكُمۡ عَنۡهُمۡ لِيَبۡتَلِيَكُمۡۖ وَلَقَدۡ عَفَا عَنكُمۡۗ وَٱللَّهُ ذُو فَضۡلٍ عَلَى ٱلۡمُؤۡمِنِينَ
Rowwad Translation Center
Indeed, Allah fulfilled His promise to you when you were slaying them by His permission, until you lost courage and disputed over the command and disobeyed after He had shown you what you liked [victory]. Among you are some who seek this world and some who seek the Hereafter[1]. He then prevented you from [defeating] them so that He may test You, but He pardoned you, for Allah is Most Gracious to the believers.
Notes
Translation: Rowwad Translation Center. Source: QuranEnc.com, version 1.0.20.
Arabic text: King Fahd Glorious Quran Printing Complex. Surah details: Tanzil.net (CC BY 3.0).
This is a translation of the meanings of the Quran. Like any human work, it may contain errors.