He gives wisdom1 to whom He wills, and whoever has been given wisdom has certainly been given much good. And none will remember except those of understanding.
Translation: Saheeh International (English)
1 The knowledge and understanding of the religion and of the Qur’ān.
Allah grants the ability to whomever of His servants He wishes to be steadfast in their statements and actions. Anyone who is given this ability has been given much good. However, only those with sound minds, that seek enlightenment through His light, and guidance from His guidance, will pay attention and benefit from the signs of Allah.