وَلَقَدْ آتَيْنَا دَاوُودَ وَسُلَيْمَانَ عِلْمًا ۖ وَقَالَا الْحَمْدُ لِلَّهِ الَّذِي فَضَّلَنَا عَلَىٰ كَثِيرٍ مِّنْ عِبَادِهِ الْمُؤْمِنِينَ (15)
(27:15) (On the other hand,) We gave knowledge to David and Solomon, *18 and they said, "Praise is for Allah Who exalted us above many of His believing servants." *19
*18) That is, the knowledge of the Reality, the knowledge that whatever they have is not theirs but the gift of Allah and whatever rights they have been granted over those things should be used strictly according to Allah's will, for they will be held answerable before Allah, the real Owner, for the right and wrong use of those rights. This knowledge is the opposite of the ignorance in which Pharaoh was involved. The type of character built on the ignorance has been presented in the preceding verses. Now, in the following verses, the model of the character built on the knowledge is being presented. The sort of kingdom, wealth, power and grandeur were common on both the sides. The Pharaoh had been given these as well as the Prophets David and Solomon. But the distinction of the ignorance and the knowledge built and moulded them into entirely different personalities.
*19) That is, "There were other believing, servants as well, who could be blessed with vicegerency. But it is only Allah's favour, not due to any special quality in ourselves, that He has chosen us to be rulers over this kingdom."