Shaikh Ibn ‘Uthaimeen said:
Everything [brought about] by the will of Allah is coupled with His wisdom. That is because Allah The Mighty and Majestic doesn’t simply ordain mere decrees, but rather His decree comes from His wisdom. The proof of that is His statement The Most High:
But you cannot will, unless Allah wills. Indeed, Allah is Ever All-Knowing, All-Wise. (76:30)
His statement The Most High “Indeed, Allah is Ever All-Knowing, All-Wise” indicates that His wisdom is tied to knowledge and wisdom.
Tafsir Surah Yasin, p.36.