22وَلَمّا بَلَغَ أَشُدَّهُ آتَيناهُ حُكمًا وَعِلمًا ۚ وَكَذٰلِكَ نَجزِي المُحسِنينَ(Irfan-ul-Quran)And when he reached his full manhood, We endowed him with the judgment (of Prophethood) and the knowledge (of the interpretation of dreams). This is how We bless the pious with reward.