God enlarges the provision or restricts it based on His own criteria, providing insights for the believers!
Verses 49-52 of Chapter 39:
Man
is such that when a little affliction touches him, he calls upon Us,
and when We bestow Our favor on him, he says, "I have been given
this because of my knowledge!"
Nay, it is a trial, but most of them do not know.
The same was said also by those who went before them, but whatever
they earned did not avail them anything.
So, they met the evil consequences of their deeds, and the wicked
ones among these people, too, shall soon meet the evil consequences
of their deeds. They cannot frustrate Us. And do they not know that
Allah provides abundantly for whom He wills and sparingly for whom He
wills?
In this there are signs for those who believe.