No there is a lie that goes around and it goes like this.
The idea that God does things without reason, that does things in "mysterious ways", all propagated by the enemies of truth who wish to do things in the name of God when it fits them. No injustice ever has a valid reason so the only rationalisation is "mysterious ways".
Nor does God "create out of nothing", we do not see that mentioned for a second in al-quran. Rather al-quran gives us the CLEAR and SELF-EVIDENT methodology of the God, the method of perfection, justice, logic, reason, peaceful analysis. 2+2=4 is not a "without reason" or "works in mysterious ways", any fool can see why it works.
[Saffat 37:12] Rather you are surprised, whereas they keep mocking.
[Saffat 37:13] And they do not understand, when explained to.
[Saffat 37:14] And whenever they see a sign, they mock at it.
[Saffat 37:15] And they say, “This is nothing but clear magic.”
Nowhere in al-quran when God is asked "Why this" does He respond with "Because I said so." or "No reason". There is a reason, one must have the full picture to see it. And only God truly has the full picture.