The Holy Quran 12:52 — Surah Yusuf
Arabic text
ذَٰلِكَ لِيَعْلَمَ أَنِّى لَمْ أَخُنْهُ بِٱلْغَيْبِ وَأَنَّ ٱللَّهَ لَا يَهْدِى كَيْدَ ٱلْخَآئِنِينَ
Translation
(When Yusuf عليه الصلاة والسلام was informed about the admission, he said) "This (declaration of my innocence) was (done) so that he (the minister) may know that I did not betray him in his absence (by trying to seduce his wife), and (so that he and all the people may know that) without doubt, Allaah does not promote the plot of betrayers." (Truth prevails eventually.)
Tafsir (excerpt) — Tafsir Usmani
That is, he had such a thorough inquiry and investigation carried out so that his prophetic chastity and integrity would become completely evident, and people would learn that Allah does not let the guile of traitors and deceivers succeed. And indeed the guile of the women did not succeed: in the end the truth remained the truth.
Preview. The full text opens with JavaScript enabled.