There is some discussion of this in viewtopic.php?f=6&t=2100
Your quote is from Proverbs 8.
About the nicest thing one can say about Proverbs is that it made it into the canon. Who knows what the author meant, but these verses aren't usually taken literally.
From a mystical Kabbalah
point of view, God always existed as Eyn Sof - without end,
Kabbalah is a set of esoteric teachings meant to explain the relationship between an unchanging, eternal, and mysterious Ein Sof (infinity) and the mortal and finite universe (God's creation).
Eyn Sof is a nice concept, because even an atheist can buy into it.
The act of creation resulted in the Sefirot
Sefirot (/sfɪˈroʊt/, /ˈsfɪroʊt/; Hebrew: סְפִירוֹת səphîrôṯ), meaning emanations, are the 10 attributes/emanations in Kabbalah, through which Ein Sof (The Infinite) reveals Himself and continuously creates both the physical realm and the chain of higher metaphysical realms (Seder hishtalshelus).
Chokhmah ("Wisdom"; Hebrew: חכמה; also chochmah or hokhmah) is the uppermost of the sephirot of the right line (kav yamin, the "Pillar of Mercy") in the kabbalistic Tree of Life. It is to the bottom right of Keter, with Binah across from it. Under it are the sephirot of Chesed and Netzach. It commonly has four paths going to Keter, Binah, Tifereth, and Chesed. (Some kabbalists[who?] attribute a path between Chokhmah and Gevurah.)
In Jewish mysticism, it denotes the first intermediate step between Keter and the rest of the sephirot, forwarding and channeling Ein Sof through the rest of the sephirot.
There are a lot of fascinating aspects to the development of Kabbalah. but the view of wisdom expressed in Proverbs 8:22-31 is quite kosher.