So his Lord responded to him and averted from him their plan. Indeed, He is the Hearing, the Knowing.
The Saheeh International Quran Translation
فَٱسْتَجَابَ لَهُۥ رَبُّهُۥ فَصَرَفَ عَنْهُ كَيْدَهُنَّ إِنَّهُۥ هُوَ ٱلسَّمِيعُ ٱلْعَلِيمُSo his Lord responded to him and averted from him their plan. Indeed, He is the Hearing, the Knowing.