Allah tells us what the disbeliever will say on the Day of Resurrection, how they will blame themselves and admit that they wronged themselves in this world. When they see the horrors of the Day of Resurrection with their own eyes, they will be filled with regret at the time when regret will not avail them anything.
وَقَالُواْ يوَيْلَنَا هَـذَا يَوْمُ الدِّينِ
(They will say: "Woe to us! This is the Day of Recompense!") And the angels and the believers will say:
(This is the Day of Judgement which you used to deny.) This will be said to them as a rebuke and reproof. Allah will command the angels to separate the disbeliever from the believers in the place where they are standing. Allah says:
After that, a command will go forth to angels: فَاهْدُوهُمْ إِلَىٰ صِرَاطِ الْجَحِيمِ (and show them the way to Jahannam - 37:23). When the angels will take them away, and reach close to the Bridge of Sirat, they will be commanded: YP (make them stop - they are to be questioned - 37:24). Thereupon, at this place, they will be questioned about their beliefs and deeds - that have been mentioned in the Qur'an and Hadith at many places.
Tazkirul Quran
Maulana Wahiduddin KhanOn ayahs 26–32
In the present world, tidings of the future life or life in the Hereafter, are regularly communicated. But man attaches no importance to this. In the Hereafter, the reality of future life will seize man. At that time, man will forget his arrogance and will prostrate himself before God. This will be an indescribably terrible scene. The position in which people will be, when they have gathered to be judged, on the Day of Resurrection (hashr) has been described in the above verses.
Uthmani text of the Madinah mushaf (King Fahd Complex). Translation: Saheeh International. Tafsir via Quran.com.