(Mu'amin) 40 : 45
فَوَقَاهُ اللَّهُ سَيِّئَاتِ مَا مَكَرُوا ۖ وَحَاقَ بِآلِ فِرْعَوْنَ سُوءُ الْعَذَابِ

Then Allah shielded him from the evils of their plotting, while the Pharoah family was affected with evil punishment.

See explanation 10: 88-92; 14: 46, and 44: 23-31.