Sure Al-Anbiyaa

21:93

وَتَقَطَّعُوٓا۟ أَمْرَهُم بَيْنَهُمْ ۖ كُلٌّ إِلَيْنَا رَٰجِعُونَ

Aber sie spalteten sich in ihrer Angelegenheit untereinander; doch sie werden alle zu Uns zurückkehren.

Tafsir 21:93

The people differed: some were monotheists, idolaters, disbelievers and believers. All these different types of people will return to Me alone on the Day of Judgment, when I shall requit them according to their deeds.