Surah Al-An'am, ayah 129

6:129

وَكَذَٰلِكَ نُوَلِّي بَعۡضَ ٱلظَّٰلِمِينَ بَعۡضَۢا بِمَا كَانُواْ يَكۡسِبُونَ ١٢٩

Wakadhālika nuwallī ba'daz-zālimīna ba'dā bimā kānū yaksibūn

And thus will We make some of the wrongdoers allies of others for what they used to earn.343

Footnotes

343 Another interpretation pertaining to this world is "And thus do We make some of the wrongdoers allies of others for what they have been earning."