Sura An-Nahl

16:39

لِيُبَيِّنَ لَهُمُ ٱلَّذِى يَخْتَلِفُونَ فِيهِ وَلِيَعْلَمَ ٱلَّذِينَ كَفَرُوٓا۟ أَنَّهُمْ كَانُوا۟ كَٰذِبِينَ

[Han skall låta dem återuppstå] för att klargöra för dem det som de tvistade om och för att de som förnekade sanningen skall få veta att de var lögnare.

Tafsir 16:39

Allah will resurrect them all on the Day of Judgement to make clear to them the things they differed about such as His Oneness, the resurrection and prophethood and so that the disbelievers may realise that they were false in their claim of Allah’s having partners and in their denial of the resurrection.