Allah apportioned livelihood and ranks so that people make use of one another; His mercy is better.
أَهُمۡ يَقۡسِمُونَ رَحۡمَتَ رَبِّكَۚ نَحۡنُ قَسَمۡنَا بَيۡنَهُم مَّعِيشَتَهُمۡ فِي ٱلۡحَيَوٰةِ ٱلدُّنۡيَاۚ وَرَفَعۡنَا بَعۡضَهُمۡ فَوۡقَ بَعۡضࣲ دَرَجَٰتࣲ لِّيَتَّخِذَ بَعۡضُهُم بَعۡضࣰ ا سُخۡرِيࣰّ اۗ وَرَحۡمَتُ رَبِّكَ خَيۡرࣱ مِّمَّا يَجۡمَعُونَ ٣٢
Do they distribute the mercy of your Lord? It is We who have apportioned among them their livelihood in the life of this world and have raised some of them above others in degrees [of rank] that they may make use of one another for service. But the mercy of your Lord is better than whatever they accumulate