139وَلَا تَهِنُوا۟ وَلَا تَحْزَنُوا۟ وَأَنتُمُ ٱلْأَعْلَوْنَ إِن كُنتُم مُّؤْمِنِينَ
140إِن يَمْسَسْكُمْ قَرْحٌ فَقَدْ مَسَّ ٱلْقَوْمَ قَرْحٌ مِّثْلُهُۥ ۚ وَتِلْكَ ٱلْأَيَّامُ نُدَاوِلُهَا بَيْنَ ٱلنَّاسِ وَلِيَعْلَمَ ٱللَّهُ ٱلَّذِينَ ءَامَنُوا۟ وَيَتَّخِذَ مِنكُمْ شُهَدَآءَ ۗ وَٱللَّهُ لَا يُحِبُّ ٱلظَّـٰلِمِينَ
141وَلِيُمَحِّصَ ٱللَّهُ ٱلَّذِينَ ءَامَنُوا۟ وَيَمْحَقَ ٱلْكَـٰفِرِينَ
142أَمْ حَسِبْتُمْ أَن تَدْخُلُوا۟ ٱلْجَنَّةَ وَلَمَّا يَعْلَمِ ٱللَّهُ ٱلَّذِينَ جَـٰهَدُوا۟ مِنكُمْ وَيَعْلَمَ ٱلصَّـٰبِرِينَ
143وَلَقَدْ كُنتُمْ تَمَنَّوْنَ ٱلْمَوْتَ مِن قَبْلِ أَن تَلْقَوْهُ فَقَدْ رَأَيْتُمُوهُ وَأَنتُمْ تَنظُرُونَ
[139-143] Be not faint hearted and be not sorrowful, you will surely gain the upper hand, if you be true believers. If you have received a blow now, your enemy also received a similar blow.100 These are the vicissitudes of time that We alternate among the people; this has been done so that Allah may test from among you who were believers and choose the righteous witnesses of the Truth;101 for Allah does not like the workers of iniquity-and by this test He willed to sort out true believers and to crush down the disbelievers. Do you think that you will enter Paradise without undergoing any trial? Allah has not yet tried you to see who among you are ready to lay down your lives in His way and who will show fortitude for His sake. You used to long for death but that was before you confronted it. Well, now it has come before you, and you have seen it with your own eyes.102
100God is encouraging the Muslims by mentioning the victory in the battle of Badr, saying, "When the disbelievers did not lose heart by the blow at Badr, why should you, the believers, lose heart by the blow at Uhd?"
101The original Arabic text may imply either of the two things: "Allah desired to give some of you the honour of martyrdom. " Or it may mean, "He willed to winnow the Believers from the hypocrites so that the true witnesses of the Truth, who may really be worthy of performing the mission that has been assigned to the Muslim Community, may be distinguished from the false ones."
102This alludes to those who were so desirous of martyrdom that they had persuaded the Holy Prophet against his wish to go out of Al-Madinah to fight with the enemy.