Allah, the Mighty and the High, is all-Powerful and supreme and nothing from possibilities is beyond His power. Also, it is not that since He has created this much, He cannot create more. On the contrary, He does that, in which there is exigency. And if there is exigency He can create twice whatever He has already created; and if He wants, he can annihilate everything. He is the capable doer. Whatever He does, He does so through His intention and discretion. He is not at all helpless in His acts. Neither His effect on other things are without His Intention. For example the burning of the fire.
Also, if the intention of Allah becomes absolute along with the creation of a possibility, it would be definitely come into being.
As Allah, the Mighty and the High says in the Holy Quran:
إِنَّمَا أَمْرُهُ إِذَا أَرَادَ شَيْئًا أَنْ يَقُولَ لَهُ كُنْ فَيَكُونُ ﴿٨٢﴾
"His command, when He intends anything, is only to say to it: Be, so it is." (Surah Yasin 36:82)
This matter does not negate that the intention of Allah is not having connection with the result of the issue.
The proof of the above is that owners of intellect, in spite of having different desires, have reached consensus that the creator of the universe cannot be helplessness and defective.
Note: This text in an extract from the book Haqqul Yaqeen by shaykh ul-islam Allama Muhammad Baqir Majlisi
Alkarbala