בעל שם טוב על התורה, Bereshit Bereshit · ב
Ba'al Shem Tov 3
א
1. "In the beginning G-d created", etc. To resolve the problem that was difficult for all the Rishonim, may their memories be for a blessing, why did the Holy One not create the world before this time? In that this action/deed is immediate good from absence. And why did His Will, may He be blessed, change, will to will in the moment of creation and not before this, behold He, blessed is His Name, is not a Master of Change? Of this it is written (Malachi 3:6) "I Hashem do not (or have not) change".
ב
2. And the solution of this [problem is] that He does not resemble the acts of flesh and blood. The wisdom that he has now he did not have from before. And his wisdom he acquired (or possessed), and he is (at) a disadvantage. For instance, because of what he needs prior to living in it, therefore he acquires wisdom to build himself a house, then he builds himself the house. But He, praise His Name, His Wisdom is intrinsic and not acquired and He is not at a disadvantage. And therefore this is the Will that rose in His Will to create the world, not that he renewed for Himself this Will at the time of the creation of the world. Rather, like He is ancient, so his His Will is ancient. And this (early desire) was His immediate Will to create the World in this moment when He created it and not before. And therefore in the moment the world was created it was created truly in that moment and in that time, just like it was in His Will before to create it. Specifically in this moment, and if so reasonably He had no change in His Will whatsoever.
ג
The proof of this is the world as it will be in the time to come, "the world that is entirely Shabbat, [where] the righteous sit with their crowns on their heads" (Berachot 17:a), and none but God will be exalted on that day (Isaiah 2:11). Certainly that world is at a higher [spiritual] level than the world is now, and such an event/reality certainly is better than its absence. So why did the Holy One Blessed Be He not begin with this, [but rather arrange it so that] all this must come at its own era and time - just as Shabbat comes only after the six profane days? In regard to the creation of the world, even though the Holy One Blessed be He knew that its existence was better than its absence, nonetheless, He placed His Will in opposition to His [fore]knowledge and so made this [present world] come first. Though he knew that this act [creating the world in an ideal state] was good, still He desired to not bring this about until its appointed time. So He ignored His knowledge and followed His will. That which preceded creation can be likened to the world that is entirely Shabbat, and this is as the verse says (Kohelet 3:11) He brings everything to pass precisely at its time, even the world [this is reading against the p'shat of the Kohelet verse]. This is a very deep secret that one who understands [Kabbalah] will comprehend.