Surah Al-An'am 6:165
وَهُوَ ٱلَّذِى جَعَلَكُمْ خَلَـٰٓئِفَ ٱلْأَرْضِ وَرَفَعَ بَعْضَكُمْ فَوْقَ بَعْضٍ دَرَجَـٰتٍ لِّيَبْلُوَكُمْ فِى مَآ ءَاتَىٰكُمْ ۗ إِنَّ رَبَّكَ سَرِيعُ ٱلْعِقَابِ وَإِنَّهُۥ لَغَفُورٌ رَّحِيمٌۢ
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.
Translation: Saheeh International
Tafsir
And He it is Who has made you successors khalā’if is the plural of khalīfa in other words He has made you to succeed one another therein in the earth and has raised some of you above others in degrees through wealth and status and otherwise so that He may try you that He may test you in what He has given you in order …
Excerpt from Tafsir al-Jalalayn, commentary on 6:165, via Quran.com. The reader has the full commentary and 9 more tafsirs.