Translation of the verse 34 from Surah Ghafir : Number of verses 85 - - page 471 - Part 24.
And indeed Yusuf (Joseph) did come to you, in times gone by, with clear signs, but you ceased not to doubt in that which he did bring to you, till when he died you said: "No Messenger will Allah send after him." Thus Allah leaves astray him who is a Musrif (a polytheist, oppressor, a criminal, sinner who commit great sins) and a Murtab (one who doubts Allah's Warning and His Oneness).
And Joseph had already come to you before with clear proofs, but you remained in doubt of that which he brought to you, until when he died, you said, 'Never will Allah send a messenger after him.' Thus does Allah leave astray he who is a transgressor and skeptic."
(40:34) Verily Joseph came to you with Clear Signs before, yet you continued to doubt his Message. Thereafter when he died, you said: 'Allah shall send no Messenger after him.'' *51 Thus Allah leads astray those who transgress the limits and are given to much doubting;
*51) That 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."