Surah Al-Qasas

28:14

وَلَمَّا بَلَغَ أَشُدَّهُۥ وَٱسْتَوَىٰٓ ءَاتَيْنَٰهُ حُكْمًۭا وَعِلْمًۭا ۚ وَكَذَٰلِكَ نَجْزِى ٱلْمُحْسِنِينَ

And when he attained his full strength and was [mentally] mature, We bestowed upon him judgement and knowledge. And thus do We reward the doers of good.

Tafsir 28:14

When body and vigour grew stronger and peaked, completing the phase of youth, I granted him knowledge and understanding in religion. Just as I rewarded Moses for his obedience, likewise I reward those who do good in every era and place.