And Joseph had already come to you before with clear proofs, but you remained in doubt of that which he brought to you, until when he died, you said, 'Never will Allāh send a messenger after him.' Thus does Allāh leave astray he who is a transgressor and skeptic."
(O my people! Verily, I fear for you an end like that day (of disaster) of the groups (of old)!) meaning, those of the earlier nations who disbelieved the Messengers of Allah, such as the people of Nuh, `Ad, Thamud and the disbelieving nations who came after them, how the punishment of Allah came upon them and they had no one to protect them or ward off that punishment.
وَمَا اللَّهُ يُرِيدُ ظُلْماً لِّلْعِبَادِ
(And Allah wills no injustice for (His) servants.) means, Allah destroyed them for their sins and for their disbelief in and rejection of His Messengers; this was His command and His decree concerning them that was fulfilled. Then he said:
In verse 33, it was said: يَوْمَ تُوَلُّونَ مُدْبِرِينَ (a day when you will turn backon your heels,). In the summary of tafsir from Bayan-ul-Qur'an of Maulana Ashraf Thanavi (رح) (forming a part of the original Urdu edition of Ma’ ariful-Qur'an), it has been said with reference to Imam al-Baghawi that this is a description of the state in which culprits will be taken from the locale of reckoning out to the Jahannam. The outcome is that all calls and announcements mentioned in the explanation of 'yowm-ut-tanad' ('a day when people will call one another' ) would have been made and, after that, these people will be made to detour from the locale of reckoning on to their final destination towards the Jahannam.
Pharaoh had threatened Moses with worldly punishment. In reply to this, the True Believer warned Pharaoh of the punishment of the Hereafter. This is always the method of the preacher of Truth. People fret about worldly affairs, but the preacher is focused on the Hereafter. People talk in terms of the world, while the preacher’s discourse is always about the Hereafter. People consider worldly problems to be the most pressing, while, for the preacher, the most pressing problem is that which is connected with the Hereafter.
Uthmani text of the Madinah mushaf (King Fahd Complex). Translation: Saheeh International. Tafsir via Quran.com.