Divorce - 65:3
And gives him sustenance from where he does not expect it. Whoever trusts in Allah, He is sufficient for him. Allah is the One who fulfills His command. Allah has set a measure for everything.
Allah tests us by giving us plenty of sustenance or withholding it:
The Dawn/89:15
"When his Lord gives to man abundantly to test him, he says: "My Lord has been generous to me"."
The Dawn/89:16
"But when his Lord tests him by withholding his sustenance, he says, "My Lord has humiliated me."