إِن تُصِبْكَ حَسَنَةٌ تَسُؤْهُمْ ۖ وَإِن تُصِبْكَ مُصِيبَةٌ يَقُولُوا۟ قَدْ أَخَذْنَآ أَمْرَنَا مِن قَبْلُ وَيَتَوَلَّوا۟ وَّهُمْ فَرِحُونَ Qur’an Al-Tawba (9:50)In tu s ibka h asanatun tasuhum wain tu s ibka mu s eebatun yaqooloo qad akha th n a amran a min qablu wayatawallaw wahum fari h oon a
I.e., in the course of the expedition to Tabuk, during which most of this surah was revealed. One should, however, bear in mind that these verses have not merely a historical connotation but, rather, aim at depicting hypocrisy as such.