An-Nisa 4:73
وَلَئِنْ أَصَـٰبَكُمْ فَضْلٌ مِّنَ ٱللَّهِ لَيَقُولَنَّ كَأَن لَّمْ تَكُنۢ بَيْنَكُمْ وَبَيْنَهُۥ مَوَدَّةٌ يَـٰلَيْتَنِى كُنتُ مَعَهُمْ فَأَفُوزَ فَوْزًا عَظِيمًا
Wala-in asabakum fadlun minaAllahi layaqoolanna kaan lam takun baynakum wabaynahumawaddatun ya laytanee kuntu maAAahum faafooza fawzan AAatheema
But if bounty comes to you from Allāh, he will surely say, as if [i.e., showing that] there had never been between you and him any affection, "Oh, I wish I had been with them so I could have attained a great attainment."
And if some bounty comes to you from Allah, he will certainly say,-as if there was no friendship between you and him- “Oh, would that I had been with them; then I would have secured a handsome gain.”