Explained in Detail - 41:14 "Messengers went to them from before them and behind them, saying: "Do not serve or serve other than Allah". They said, "If our Lord had willed, He could have sent down an angel. Therefore we do not believe in the message you bring"."
The people who turn away from the Message of Allah:
The Pilgrimage/22:44 And the inhabitants of Median. Even Moses was denied. I gave the disbelievers a respite and then I called them to account; how is it that they do not recognize Me!
وَاَصْحَابُ مَدْيَنَۚ وَكُذِّبَ مُوسٰى فَاَمْلَيْتُ لِلْكَافِر۪ينَ ثُمَّ اَخَذْتُهُمْۚ فَكَيْفَ كَانَ نَك۪يرِ
The Pilgrimage/22:43 And the people of Abraham, and the people of Lot
وَقَوْمُ اِبْرٰه۪يمَ وَقَوْمُ لُوطٍۙ
The Pilgrimage/22:42 If they belie you, so did the people of Noah, Ad and Thamud before them
وَاِنْ يُكَذِّبُوكَ فَقَدْ كَذَّبَتْ قَبْلَهُمْ قَوْمُ نُوحٍ وَعَادٌ وَثَمُودُۙ

The Arabic Letter Sad/38:14 They all denied the messengers and deserved My punishment.
اِنْ كُلٌّ اِلَّا كَذَّبَ الرُّسُلَ فَحَقَّ عِقَابِ۟
The Arabic Letter Sad/38:13 So did Thamud, the people of Lot and the Aykelites. They were parties.
وَثَمُودُ وَقَوْمُ لُوطٍ وَاَصْحَابُ لْـَٔيْكَةِۜ اُو۬لٰٓئِكَ الْاَحْزَابُ
The Arabic Letter Sad/38:12 Before them were the people of Noah and the people of Ad and Pharaoh, the owner of the pyramids.
كَذَّبَتْ قَبْلَهُمْ قَوْمُ نُوحٍ وَعَادٌ وَفِرْعَوْنُ ذُوالْاَوْتَادِۙ

The Letter Qaf/50:14 The people of Ayka and the people of Tubba´. They all denied the messengers. So My threat came true.
وَاَصْحَابُ الْاَيْكَةِ وَقَوْمُ تُبَّعٍۜ كُلٌّ كَذَّبَ الرُّسُلَ فَحَقَّ وَع۪يدِ
The Letter Qaf/50:13 Ad, Pharaoh and the brothers of Lot.
وَعَادٌ وَفِرْعَوْنُ وَاِخْوَانُ لُوطٍۙ
The Letter Qaf/50:12 The people of Noah, the people of Res and Thamud had disbelieved before them.
كَذَّبَتْ قَبْلَهُمْ قَوْمُ نُوحٍ وَاَصْحَابُ الرَّسِّ وَثَمُودُۙ