The Objective of Sayyidna Yusuf (علیہ السلام) was to Establish the Din of Allah. Said in verse 55 was: وَكَذَٰلِكَ مَكَّنَّا لِيُوسُفَ فِي الْأَرْضِ يَتَبَوَّأُ مِنْهَا حَيْثُ يَشَاءُ ۚ نُصِيبُ بِرَحْمَتِنَا مَن نَّشَاءُ ۖ وَلَا نُضِيعُ أَجْرَ الْمُحْسِنِينَ And thus We gave Yusuf (علیہ السلام) power in the land. He could settle there wherever he wished. We extend Our mercy to whomsoev¬er We will, and We do not waste the reward of those who are good in deeds. For details, it can be said that, after an experimental period of one year, the king of Egypt arranged a special celebration in his court to which he invited all officials and dignitaries of the state. Sayyidna Yusuf (علیہ السلام) was brought into the gathering with a crown on his head. Sayyidna Yusuf (علیہ السلام) was given, not simply the charge of the state treasury, but the charge of virtually the whole state. Having done this, the king him-self retired from active involvement with the affairs of the state. (Qurtubi, Mazhari and others) Sayyidna Yusuf علیہ السلام managed the affairs of the state with such ability that no one had any reason to complain. The whole country loved him. Peace and prosperity prevailed all over. Even Sayyidna Yusuf (علیہ السلام) himself faced no problems or pains in executing the many responsibil¬ities of the government. Tafsir authority, Mujahid, has said: Since Sayyidna Yusuf (علیہ السلام) under the surface grandeur of his rule over the country, aimed at noth¬ing but that the command of Allah Ta ala be carried out there and that the faith given by Him becomes firmly established. Therefore, he never lost sight of his basic objective, that is, inviting the king of Egypt to faith and Islam. As time passed, his efforts bore fruits by the grace of Allah and the king of Egypt too became a believing Muslim.
(آیت) وَكَذٰلِكَ مَكَّنَّا لِيُوْسُفَ فِي الْاَرْضِ ۚ يَتَبَوَّاُ مِنْهَا حَيْثُ يَشَاۗءُ ۭ نُصِيْبُ بِرَحْمَتِنَا مَنْ نَّشَاۗءُ وَلَا نُضِيْعُ اَجْرَ الْمُحْسِـنِيْنَ یعنی جس طرح ہم نے یوسف (علیہ السلام) کو بادشاہ مصر کے دربار میں عزت و منزلت عطا کی اسی طرح ہم نے ان کو پورے ملک مصر پر اقتدار کامل عطا کردیا کہ ان کی زمین میں جس طرح چاہیں احکام جاری کریں ہم جس کو چاہتے ہیں اپنی رحمت و نعمت سے یوں ہی نوازا کرتے ہیں اور ہم نیک کام کرنے والوں کا اجر کبھی ضائع نہیں کرتے، تفصیل اس کی یہ ہے کہ بادشاہ مصر نے ایک سال تجربہ کرنے کے بعد دربار میں ایک جشن منایا جس میں تمام عمال دولت اور معززین حکومت کو جمع کیا اور یوسف (علیہ السلام) کے سر پر تاج رکھ کر اس مجلس میں لایا گیا اور صرف خزانہ کی ذمہ داری نہیں بلکہ پورے امور مملکت کو عملاً ان کے سپرد کر کے خود گوشہ نشین ہوگیا (قرطبی ومظہری وغیرہ) حضرت یوسف (علیہ السلام) نے امور سلطنت کو ایسا سنبھالا کہ کسی کو کوئی شکایت باقی نہ رہی سارا ملک آپ کا گرویدہ ہوگیا اور پورے ملک میں امن اور خوش حالی عام ہوگئی خود حضرت یوسف (علیہ السلام) کو بھی حکومت کی اس تمام ذمہ داری میں کوئی دشواری یا رنج و تکلیف پیش نہیں آتی، امام تفسیر مجاہد (رح) نے فرمایا کہ یوسف (علیہ السلام) کے پیش نظر چونکہ اس سارے جاہ و جلال سے صرف اللہ تعالیٰ کے احکام کا رواج اور اس کے دین کی اقامت تھی اس لئے وہ کسی وقت بھی اس سے غافل نہیں ہوئے کہ شاہ مصر کو اسلام و ایمان کی دعوت دیں یہاں تک کہ مسلسل دعوت و کوشش کا یہ نتیجہ ظاہر ہوا کہ بادشاہ مصر بھی مسلمان ہو گیا