Sure Ar-Room

30:37

أَوَلَمْ يَرَوْا۟ أَنَّ ٱللَّهَ يَبْسُطُ ٱلرِّزْقَ لِمَن يَشَآءُ وَيَقْدِرُ ۚ إِنَّ فِى ذَٰلِكَ لَءَايَٰتٍۢ لِّقَوْمٍۢ يُؤْمِنُونَ

Sehen sie denn nicht, daß Allah die Versorgung großzügig gewährt, wem Er will, und auch bemißt? Darin sind wahrlich Zeichen für Leute, die glauben.

Tafsir 30:37

Do they not see that Allah expands the sustenance for whichever of His servants He wishes, testing them to see whether they show gratitude or ingratitude? And He constrains sustenance upon whomsoever He wishes, testing to see whether they are patience or become angry. Indeed, in the increasing of provision for some, and its constriction upon others, are proofs of the kindness and mercy of Allah.