It is not unreasonable to assume that the works of God, their existence and preceding non-existence, are the result of His wisdom, but we are unable to understand many of the ways of His Wisdom in His works. On this principle the whole Law of Moses is based; it begins with this principle: "And God saw all that He had made, and behold, it was very good" (Gen. i. 31); and it ends with this principle: "The Rock, perfect is His work" (Deut. xxxii. 4). Note it.
Ch.25 - Guide for the Perplexed (c. 1190) - Part III