I think the question of it's origin might be already tackled in Proverbs 8:22.
Where Septuagint uses the word έκτισεν, which is generally translated as to create, form, shape, make.
We may also note this word in the Greek translation of Genesis 1:1, by Aquila of Sinope, where it stands, as generally accepted, for creation.
According to 1 Corinthians 1:24:
But to them who are called, both Jews and Greeks, Christ is the power of God and the wisdom of God.
From letter to Colossians:
who is the image of the invisible God, the firstborn of all creation.
And He is before all things, and by Him all things consist. ... that He
may be pre-eminent in all things.
Here all-things I think refer also to his position and glory from the past, as well into future (John 17:5; Revelation 3:14).
God's personal wisdom was always with God. But when God began creation, first he produced his own Image of himself, his Son in form of his word by which all other things were made (John 1:1-3). He, as his image, reflects wisdom of his God. We can also name Christ as wisdom of God.
Who is his mediator to us people. (1 Timothy 2:5)
Septuagint / LXX
με αρχην οδων αυτου εις εργα αυτου"
23 "προ του αιωνος εθεμελιωσεν με εν αρχη"
22 "The Lord made me the beginning of his ways for his works."
23 "He established me before time [was] in the beginning, before he made the earth:"
Mishneh Torah and JPS Tanakh:
22 "The LORD made me as the beginning of His way, the first of His works of old."
23 "I was set up from everlasting, from the beginning, or ever the earth was."
Aramaic Targum from Adam Clarke's Commentary:
22 "God created me in the beginning of his creatures."