Ghafir • BN-TAFSEER-IBN-E-KASEER
﴿ فَوَقَىٰهُ ٱللَّهُ سَيِّـَٔاتِ مَا مَكَرُوا۟ ۖ وَحَاقَ بِـَٔالِ فِرْعَوْنَ سُوٓءُ ٱلْعَذَابِ ﴾
“And God preserved him from the evil of their scheming, whereas suffering vile was to encompass Pharaoh’s folk:”
Please check ayah 40:46 for complete tafsir.