Surah Yusuf Verse 24 - English Translation by Aisha Bewley
Surah Yusufوَلَقَدۡ هَمَّتۡ بِهِۦۖ وَهَمَّ بِهَا لَوۡلَآ أَن رَّءَا بُرۡهَٰنَ رَبِّهِۦۚ كَذَٰلِكَ لِنَصۡرِفَ عَنۡهُ ٱلسُّوٓءَ وَٱلۡفَحۡشَآءَۚ إِنَّهُۥ مِنۡ عِبَادِنَا ٱلۡمُخۡلَصِينَ
She wanted him and he would have wanted her, had he not seen the Clear Proof of his Lord. That happened so We might avert from him all evil and lust. He was Our chosen slave