Allah Made Mankind Dwellers on the earth, Generation After Generation, of Various Grades, in order to Test Them
Allah said,
وَهُوَ الَّذِى جَعَلَكُمْ خَلَـئِفَ الاٌّرْضِ
(And it is He Who has made you generations coming after generations, replacing each other on the earth.) meaning, He made you dwell on the earth generation after generation, century after century and offspring after forefathers, according to Ibn Zayd and others. Allah also said,
وَلَوْ نَشَآءُ لَجَعَلْنَا مِنكُمْ مَّلَـئِكَةً فِى الاٌّرْضِ يَخْلُفُونَ
(And if it were Our will, We would have made angels to replace you on the earth) 43:60, and,
وَيَجْعَلُكُمْ حُلَفَآءَ الاٌّرْضِ
(And makes you inheritors of the Earth, generations after generations.) 27:62, and
إِنِّي جَاعِلٌ فِى الأَرْضِ خَلِيفَةً
(Verily, I am going to place (mankind) generations after generations on earth.) 2:30, and,
عَسَى رَبُّكُمْ أَن يُهْلِكَ عَدُوَّكُمْ وَيَسْتَخْلِفَكُمْ فِى الاٌّرْضِ فَيَنظُرَ كَيْفَ تَعْمَلُونَ
(It may be that your Lord will destroy your enemy and make you successors on the earth, so that He may see how you act.) 7:129 Allah's statement,
وَرَفَعَ بَعْضَكُمْ فَوْقَ بَعْضٍ دَرَجَـتٍ
(And He has raised you in ranks, some above others,) means, He has made you different from each other with regards to provision, conduct, qualities, evilness, shapes, color of skin, and so forth, and He has the perfect wisdom in all this. Allah said in other Ayat,
نَحْنُ قَسَمْنَا بَيْنَهُمْ مَّعِيشَتَهُمْ فِى الْحَيَوةِ الدُّنْيَا وَرَفَعْنَا بَعْضَهُمْ فَوْقَ بَعْضٍ دَرَجَـتٍ لِّيَتَّخِذَ بَعْضُهُم بَعْضاً سُخْرِيّاً
(It is We Who portion out between them their livelihood in this world, and We raised some of them above others in ranks, so that some may employ others in their work.) 43:32, and,
انظُرْ كَيْفَ فَضَّلْنَا بَعْضَهُمْ عَلَى بَعْضٍ وَلَلاٌّخِرَةُ أَكْبَرُ دَرَجَـتٍ وَأَكْبَرُ تَفْضِيلاً
(See how We prefer one above another (in this world), and verily, the Hereafter will be greater in degrees and greater in preferment.) 17:21 Allah's statement,
لِّيَبْلُوَكُمْ فِى مَآ ءَاتَـكُم
(that He may try you in that which He has bestowed on you.) means, so that He tests you in what He has granted you, for Allah tries the rich concerning his wealth and will ask him about how he appreciated it. He also tries the poor concerning his poverty and will ask him about his patience with it. Muslim recorded that Abu Sa`id Al-Khudri said that the Messenger of Allah ﷺ said,
«إِنَّ الدُّنْيَا حُلْوَةٌ خَضِرَةٌ وَإِنَّ اللهَ مُسْتَخْلِفُكُمْ فِيهَا فَنَاظِرٌ مَاذَا تَعْمَلُونَ، فَاتَّقُوا الدُّنْيَا وَاتَّقُوا النِّسَاءَ فَإِنَّ أَوَّلَ فِتْنَةِ بَنِي إِسْرَائِيلَ كَانَتْ فِي النِّسَاء»
(Verily, this life is beautiful and green, and Allah made you dwell in it generation after generation so that He sees what you will do. Therefore, beware of this life and beware of women, for the first trial that…