Surah Al-A'raaf

7:79

فَتَوَلَّىٰ عَنْهُمْ وَقَالَ يَٰقَوْمِ لَقَدْ أَبْلَغْتُكُمْ رِسَالَةَ رَبِّى وَنَصَحْتُ لَكُمْ وَلَٰكِن لَّا تُحِبُّونَ ٱلنَّٰصِحِينَ

And he turned away from them and said, "O my people, I had certainly conveyed to you the message of my Lord and advised you, but you do not like advisors."

Tafsir 7:79

Ṣāliḥ (peace be upon him) turned away from his people, having given up all hope for them. He said: 'O people, I had delivered what Allah had instructed me to deliver to you, and had advised you well, encouraging and warning you, but you were a people who did not have any love for sincere advisers who wanted to lead you to goodness and distance you from evil.