He will either make correct judgment and be saved or will...
He will either make correct judgment and be saved or will make mistake and will become deviated. The one who becomes dishonorable in the world will be better off in the Hereafter because the one who orders becomes big in the eyes of the people and the one who purchases this world at the cost of the Hereafter suffers loss in both the places because this world slips away from him very soon and he had no share in the Hereafter.” Hearing this, the angels were astonished at his wisdom and intelligence and the Lord liked their dialogue.
When night fell and Luqman went to bed Allah rained the radiance of wisdom on him and made him full of light. He was asleep and Allah covered him with the cloth of wisdom. When he arose he was the wisest man of his time. He came out before the people when words of wisdom were coming out of his mouth and he was describing the Divine wisdom and intelligence and justice to all. And when he did not accept Prophethood, Allah asked the angels to invite Dawud to it.
Dawud accepted and did not put forth the conditions that Luqman had submitted. So Allah made him His caliph in the world on earth. Allah, often tested those (Prophets) and on some occasions they missed the preferable ( Tark al-Awla ) and Allah pardoned them for it. Luqman used to meet Dawud often and give him words of wisdom and admonition. Dawud used to tell him: Congratulations!
For you have been given wisdom, and tests have been lifted up from you and caliphate has been given to Dawud and he has been put to test. Luqman gave so many admonitions to his son that he became embodiment of the enlightening wisdom of Luqman.” Some of the admonitions given by Luqman to his son are: O My son!
From the very day you have arrived in the world you have turned your back to the world and verily turned your face toward the Hereafter (you have started your journey toward the Hereafter from the very moment you were born), and you are passing various stages of that journey. Hence the house towards which you have turned your face is coming nearer and nearer to you and the house in which you are now is getting more and more away from you every day. O my son!
Be a companion of the wise and sit with them and do not argue with them that they may prevent their knowledge from you. Take from this world only that which is essential and enough for you. Also do not give up earning in this world that you may become needy (and others may have to care for you).