Surah Yusuf (يوسف) · verse 52 (Meccan · Juz 12 · page 241)
ذَٰلِكَ لِيَعْلَمَ أَنِّى لَمْ أَخُنْهُ بِٱلْغَيْبِ وَأَنَّ ٱللَّهَ لَا يَهْدِى كَيْدَ ٱلْخَآئِنِينَ ﴿52﴾
التفسير الميسر
ذلك القول الذي قلته في تنزيهه والإقرار على نفسي ليعلم زوجي أني لم أخنه بالكذب عليه، ولم تقع مني الفاحشة، وأنني راودته، واعترفت بذلك لإظهار براءتي وبراءته، وأن الله لا يوفق أهل الخيانة، ولا يرشدهم في خيانتهم
Sahih International
That is so al-'Azeez will know that I did not betray him in [his] absence and that Allah does not guide the plan of betrayers
Marmaduke Pickthall
(Then Joseph said: I asked for) this, that he (my lord) may know that I betrayed him not in secret, and that surely Allah guideth not the snare of the betrayers
Abdullah Yusuf Ali
This (say I), in order that He may know that I have never been false to him in his absence, and that Allah will never guide the snare of the false ones