Proverbs 8:22-31
22 The LORD possessed me in the beginning of his way, before his works of old.
23 I was set up from everlasting, from the beginning, or ever the earth was.
24 When there were no depths, I was brought forth; when there were no fountains abounding with water.
25 Before the mountains were settled, before the hills was I brought forth:
26 While as yet He had not made the earth, nor the fields, nor the highest part of the dust of the world.
27 When He prepared the heavens, I was there: when He set a compass upon the face of the depth:
28 When He established the clouds above: when He strengthened the fountains of the deep:
29 When He gave to the sea his decree, that the waters should not pass his commandment: when He appointed the foundations of the earth:
30 Then I was by him, as one brought up with him: and I was daily his delight, rejoicing always before him;
31 Rejoicing in the habitable part of his earth; and my delights were with the sons of men.
See Psalm 136:5, Proverbs 3:19, Jeremiah 51:5, Jeremiah 10:2.
Wisdom has always been there. Wisdom was there even before the foundation of the world.