Sure Al-Qasas

28:82

وَأَصْبَحَ ٱلَّذِينَ تَمَنَّوْا۟ مَكَانَهُۥ بِٱلْأَمْسِ يَقُولُونَ وَيْكَأَنَّ ٱللَّهَ يَبْسُطُ ٱلرِّزْقَ لِمَن يَشَآءُ مِنْ عِبَادِهِۦ وَيَقْدِرُ ۖ لَوْلَآ أَن مَّنَّ ٱللَّهُ عَلَيْنَا لَخَسَفَ بِنَا ۖ وَيْكَأَنَّهُۥ لَا يُفْلِحُ ٱلْكَٰفِرُونَ

Und diejenigen, die sich am Tag zuvor (an) seine(r) Stelle (zu sein) gewünscht hatten, begannen zu sagen: "Ah sieh! Allah gewährt die Versorgung großzügig, wem von Seinen Dienern Er will, und bemißt auch. Wenn Allah uns nicht eine Wohltat erwiesen hätte, hätte Er uns wahrlich (auch) versinken lassen. Ah sieh! Den Ungläubigen wird es nicht wohl ergehen."

Tafsir 28:82

Those who wished for the wealth and adornment he had before being swallowed up began saying heedfully: “Did we not know that Allah extends sustenance for whom He wishes amongst His servants and restricts it for whomever He wishes amongst them? Had Allah not favoured us by not punishing us for what we said, He would have made the earth swallow us as He did with Qarun. The disbelievers are not successful, neither in this life or the afterlife, but rather their return and outcome is loss in both”.