So Allah protected him from the evils they plotted, and the people of Pharaoh were enveloped by the worst of punishment -
The Saheeh International Quran Translation
فَوَقَىٰهُ ٱللَّهُ سَيِّـَٔاتِ مَا مَكَرُوا۟ وَحَاقَ بِـَٔالِ فِرْعَوْنَ سُوٓءُ ٱلْعَذَابِSo Allah protected him from the evils they plotted, and the people of Pharaoh were enveloped by the worst of punishment -