Surah Yusuf 12:33
قَالَ رَبِّ ٱلسِّجْنُ أَحَبُّ إِلَىَّ مِمَّا يَدْعُونَنِىٓ إِلَيْهِ ۖ وَإِلَّا تَصْرِفْ عَنِّى كَيْدَهُنَّ أَصْبُ إِلَيْهِنَّ وَأَكُن مِّنَ ٱلْجَـٰهِلِينَ
He said, "My Lord, prison is more to my liking than that to which they invite me. And if You do not avert from me their plan, I might incline toward them and [thus] be of the ignorant."
Translation: Saheeh International
Tafsir
He said ‘My Lord prison is dearer to me than that to which they are urging me. And if You do not fend off their wiles from me then I shall tend I shall incline towards them and become of the ignorant the sinful this is intended as a supplication which is why God exalted be He then says
Excerpt from Tafsir al-Jalalayn, commentary on 12:33, via Quran.com. The reader has the full commentary and 9 more tafsirs.