>>20135586Although the Testament of Solomon is a text with clear Christian influence, the Jewish-Roman historian Flavius Josephus mentions that Goetic literature attributed to Solomon already existed before Christianity.
https://penelope.uchicago.edu/josephus/ant-8.html>He also excelled and distinguished himself in wisdom above those who were most eminent among the Hebrews at that time for shrewdness; those I mean were Ethan, and Heman, and Chalcol, and Darda, the sons of Mahol. He also composed books of odes and songs a thousand and five, of parables and similitudes three thousand; for he spake a parable upon every sort of tree, from the hyssop to the cedar; and in like manner also about beasts, about all sorts of living creatures, whether upon the earth, or in the seas, or in the air; for he was not unacquainted with any of their natures, nor omitted inquiries about them, but described them all like a philosopher, and demonstrated his exquisite knowledge of their several properties. God also enabled him to learn that skill which expels demons, which is a science useful and sanative to men>He composed such incantations also by which distempers are alleviated. And he left behind him the manner of using exorcisms, by which they drive away demons, so that they never return; and this method of cure is of great force unto this day; for I have seen a certain man of my own country, whose name was Eleazar, releasing people that were demoniacal in the presence of Vespasian, and his sons, and his captains, and the whole multitude of his soldiers. The manner of the cure was this: He put a ring that had a Foot of one of those sorts mentioned by Solomon to the nostrils of the demoniac, after which he drew out the demon through his nostrils; nd when the man fell down immediately, he abjured him to return into him no more, making still mention of Solomon, and reciting the incantations which he composed