٣٤. وَلَقَدْ جَآءَكُمْ يُوسُفُ مِن قَبْلُ بِٱلْبَيِّنَـٰتِ فَمَا زِلْتُمْ فِى شَكٍّ مِّمَّا جَآءَكُم بِهِۦ ۖ حَتَّىٰٓ إِذَا هَلَكَ قُلْتُمْ لَن يَبْعَثَ ٱللَّهُ مِنۢ بَعْدِهِۦ رَسُولًا ۚ كَذَٰلِكَ يُضِلُّ ٱللَّهُ مَنْ هُوَ مُسْرِفٌ مُّرْتَابٌ
٣٥. ٱلَّذِينَ يُجَـٰدِلُونَ فِىٓ ءَايَـٰتِ ٱللَّهِ بِغَيْرِ سُلْطَـٰنٍ أَتَىٰهُمْ ۖ كَبُرَ مَقْتًا عِندَ ٱللَّهِ وَعِندَ ٱلَّذِينَ ءَامَنُوا۟ ۚ كَذَٰلِكَ يَطْبَعُ ٱللَّهُ عَلَىٰ كُلِّ قَلْبِ مُتَكَبِّرٍ جَبَّارٍ
[34-35] Before this Joseph had brought to you clear Signs, but you continued to be in doubt concerning his teachings. Then, when he died, you said, "Allah will never send another Messenger after him."51 Likewise,52 Allah lets go astray the transgressors and doubters who dispute concerning the Revelations of Allah even without any authority having come to them.53 Such an attitude is abhorred by Allah and the believers. Thus does Allah set a seal on the heart of every arrogant, self-exalting person.54
51That is, "Your deviation, and then your stubbornness, is such that before Moses (peace be upon him) there came in your land the Prophet Joseph about whom you yourselves admit that he was a man of the highest morals, and you also admit that by giving the right interpretation of the king's dream he saved you from the dreadful effects of the seven-year-long famine, which had struck Egypt in his time; and your entire nation also acknowledges that Egypt has never witnessed a period of greater justice and prosperity than the period of his rule. But in spite of knowing and recognizing all his merits and high qualities you did not believe in him during his life time, and when he died, you said: "Never will the like of him came again!" That is, you recognized his excellences only for an excuse to deny every prophet who came after him. This means that you would not accept guidance in any case."
52It so appears that the next few sentences are an addition by Allah and an explanation of the words of the Believer of the people of Pharaoh.
53That is, "Allah allows only those people to go astray who possess the following three qualities:
(1) They transgress all limits in their evildoing. and then develop such a taste for it that they do not feel inclined to accept any invitation to reform their morals
(2) their permanent attitude in respect of the Prophets is characterized by doubt and suspicion. The Prophets of God may bring any clear Signs before them, yet they doubt their Prophethood as well as view with suspicion those truths which they present with regard to Tauhid and the Hereafter; and
(3) they try to resist the Revelations of the Book of Allah with crooked arguments instead of considering them rationally, and these objections are neither based on any sound reason nor on the authority of a revealed Book, but from the beginning to the end their only basis is obstinacy and stubbornness.
When a group of the people develops these three evils, Allah hurls it into the deep pit of Hell-fire where from no power can then rescue them.
54That is, 'The seal is not set on the heart of anybody without a reason. This seal of curse is set only on the heart of the one who is filled with arrogance and spirit of violence and tyranny."