I’ve written some brief thoughts on the question of the biblical and apocryphal imagery of Sophia.
The image of Wisdom (Sophia) in Proverbs and elsewhere needs to be understood in terms of the broader picture within she occurs. The entire book of Proverbs is about the relationship between the royal son and wisdom, framed in terms of the quest for a good wife. The book juxtaposes the way of folly, of the foolish woman who leads to destruction, with Lady Wisdom and the noble wife, who should be desired and sought. The book ends with the portrait of the noble wife, Lady Wisdom as royal consort. The prince’s relationship with Wisdom is presented as erotic in character, comparable to the relationship between a man and wife (a theme even more pronounced in Wisdom 8:2ff.).