Explanation
The word Hakeem comes from the root letters ḥā-kāf-meem and it has many classical Arabic connotations such as to prevent or restrain from wrongdoing or corruption, to be wise, knowing the true nature of things, to pass judgment, to decide, pass a verdict.
ALLAH is the One who is knowing, and the other is acting with this knowledge. ALLAH SWT is both the All-Knowing and the All-Wise—He possesses all the knowledge. And ALLAH is Hakeem (All-Wise) that He creates all things in perfect faultless measurements.“Al-Hikmah” (Wisdom) is to possess the best knowledge, and ALLAH divine knowledge is infinite. ALLAH knowing is infinite, all-embracing, and free from all kinds of ignorance, imperfection, or defect. No human being can ever claim to have acquired all knowledge or experience.
ALLAH divine will is associated with His absolute divine wisdom that whatever He wills will inevitably come to pass and that His divine wisdom is associated with absolute good.
ALLAH SWT says, “He (ALLAH) grants wisdom to whomsoever He pleases, and he who is granted wisdom is indeed granted abundant good.” (Surah Baqarah, 2:269)
Quran References
And if whatever trees upon the earth were pens and the sea [was ink], replenished thereafter by seven [more] seas, the words of Allah would not be exhausted. Indeed, Allah is Exalted in Might and Wise. (Quran 31:27)
The revelation of the Book is from Allah, the Exalted in Might, the Wise. (Quran 46:2)
Whatever is in the heavens and earth exalts Allah, and He is the Exalted in Might, the Wise. (Quran 57:1)
Allah has already ordained for you [Muslims] the dissolution of your oaths. And Allah is your protector, and He is the Knowing, the Wise. (Quran 66:2)