وَلَمَّا بَلَغَ أَشُدَّهُ آتَيْنَاهُ حُكْمًا وَعِلْمًا ۚ وَكَذَٰلِكَ نَجْزِي الْمُحْسِنِينَ
22. And when Joseph reached maturity, We gave him judgment and knowledge. And thus We reward the doers of good.