Page 160
fa-tawallā ʿanhum wa-qāla yā-qawmi la-qad ʾablaghtukum risālata rabbī wa-naṣaḥtu lakum wa-lākin lā tuḥibbūna n-nāṣiḥīna
So he abandoned them [to their fate], and said, ‘O my people! Certainly I communicated to you the message of my Lord, and I was your well-wisher, but you did not like well-wishers.’
— Ali Quli Qarai
Surah Al-‘A’raf, Verse 79
79. "Then he turned away from them and said: ' O' my people! verily I have delivered to you the Message of my Lord, and advised you sincerely; but you do not like sincere advisers'."
The word of Salih to his people is probable to be fulfilled either before the descent of the chastisement in order to complete the argument, or after their destruction. It can be in the same manner that the Messenger of Allah (S) also spoke to the dead bodies of disbelievers that were inside the Badr well. The audience asked him (S) whether they were alive, and the Prophet (S) said: "yes ". However, the mission of prophets is to convey the Divine message accompanied with sympathy and benevolence. It is not only a dry, bare communication, like the communication of regulations and circulars in formal offices.
Allah’s retributions are given after delivering the message and completing the argument.
By the way, we ought to like the advisers. He who dislikes those who work sympathetically, provides the means of the Wrath of Allah for himself.