Al-A'raaf • EN-TAFSIR-MAARIF-UL-QURAN
﴿ وَنَادَىٰٓ أَصْحَٰبُ ٱلْأَعْرَافِ رِجَالًۭا يَعْرِفُونَهُم بِسِيمَىٰهُمْ قَالُوا۟ مَآ أَغْنَىٰ عَنكُمْ جَمْعُكُمْ وَمَا كُنتُمْ تَسْتَكْبِرُونَ ﴾
“And they who [in life] had possessed this faculty of discernment will call out to those whom they recognize by their marks [as sinners], saying: "What has your amassing [of wealth] availed you, and all the false pride of your past?”
The fifth verse (48) also mentions that the people of A` raf will address the people of Hell and admonish them by saying that the wealth and power that they depended on, and because of which they had become proud and arrogant, went the way of waste for all those strengths did not work for them at their hour of need.