He gives wisdom to whom He wills. Whoever has been given wisdom has surely been given much good.
Yet none take heed but those endowed with understanding.
يؤتي الحكمة من يشاء ۚ ومن يؤت الحكمة فقد أوتي خيرا كثيرا ۗ وما يذكر إلا أولو الألباب
Yü'ti'l-hikmete men yeşâ', ve men yü'te'l-hikmete fe-kad ûtiye hayran kesîrâ, ve mâ yezzekkeru illâ ülü'l-elbâb
The Noble Qur'an, Al-Baqarah 2:269 (meaning).
The verse does not speak of wisdom in the language of earning; it speaks in the language of giving.
It says it is given; if it were something wrested by effort, whoever read the most would be the wisest.
Effort is knocking at the door; the one who opens it is Another.
Nor is it for nothing that wisdom is called much good: wealth lessens as it is spent, wisdom grows as it is used.
The last sentence sets a condition.
What is given turns into counsel only in the hands of minds that work at the core.