I came accross sura 6:165, where Allah (SWT) says following:
"And it is He who has made you successors upon the earth and has raised some of you above others in degrees [of rank] that He may try you through what He has given you. Indeed, your Lord is swift in penalty; but indeed, He is Forgiving and Merciful. (Al-An'am 6:165 / Sahih International)
I was particularly interested in the reason for raising some above others. While trying to find the answer, I also came accross 16:71, 43:32 and 4:32 - which also speak about "different levels" being gransted to different people.
In essense, I understand this is about testing people - Allah (SWT) gives to some more and less to others (be it health, wealth, etc); he tests and wants to see how would people deal with the wealth given and expects humans to distribute the wealth and follow the guidance related to charity, giving and supporting others provided in Quran.
However, what I dont understand is why has Allah (SWT) chosen such a way to test people, since in a such an approach, inevitably some become poor and some become rich, some suffer while others prosper. I wonder if there is any explanation to this by any of the scholars or researchers?