أَمْ حَسِبْتُمْ أَن تَدْخُلُوا۟ ٱلْجَنَّةَ وَلَمَّا يَعْلَمِ ٱللَّهُ ٱلَّذِينَ جَـٰهَدُوا۟ مِنكُمْ وَيَعْلَمَ ٱلصَّـٰبِرِينَ Qur’an Aal-Imran (3:142)Am hasibtum an tadkhuloo aljannata walamma yaAAlami Allahu allatheena jahadoo minkum wayaAAlama alssabireena
Lit., "while God has not yet taken cognizance of those of you who have striven...and those who are patient in adversity". Since God is all-knowing, His "not taking cognizance" implies, of course, that the thing or happening referred to has not come about or is non-existent (Zamakhshari).
The purge or purification was in two senses. (1) It cleared out the Hypocrites from the ranks of the Muslim warriors. (2) The testing-time strengthened the faith of the weak and wavering: for suffering has its own mission in life. The Prophet's example-wounded but staunch, and firmer than ever-put new life into the Community.