And then there was King Solomon the Wize.
"The Bible accredits Solomon as the builder of the First Temple in Jerusalem, and portrays him as great in wisdom, wealth, and power, but ultimately as a king whose sin, including idolatry and turning away from God, leads to the kingdom being torn in two during the reign of his son Rehoboam. [Not in his reign] Solomon is the subject of many other later references and legends." wiki data.
700 Wives and 300 concubines of politics and pleasure
"Solomon had seven hundred wives 700 and three hundred concubines 300. The wives are described as foreign princesses, including Pharaoh's daughter and women of Moab, Ammon, Sidon and of the Hittites.[real Political Treaty Mariages ie your daughter] These pagan wives are depicted as leading Solomon astray. The only wife that is mentioned by name is Naamah, who is described as the Ammonite. She was the mother of Solomon's successor, Rehoboam."
(not the cult of pagan Diana of the lesbians of monogomy as later became a sacred and then secular restriction of the frigid-whore pagans and wild-mad-women)
"Solomon became king after the death of his father David. According to the biblical First Book of Kings, when David was " old and advanced in years" "he could not get warm."  "So they sought for a beautiful young woman throughout all the territory of Israel, and found Abishag the Shunammite, and brought her to the king.""
his Great Wizdom; for he was wize in this ...
One of the qualities most ascribed to Solomon is his wisdom. Solomon prays:
"Give Thy servant an understanding heart to judge Thy people and to know good and evil."1 Kings 3:9 
"So God said to him, 'Since you have asked for this and not for long life or wealth for yourself, nor have asked for the death of your enemies but for discernment in administering justice, I will do what you have asked...'" (1 Kings 3:11-12) The Bible also states that: "The whole world sought audience with Solomon to hear the wisdom God had put in his heart." (1 Kings 10:24) Blessed and intact kingdom
1 Kings 11 describes Solomon's ascent into idolatry, particularly his turning after Ashtoreth [of [filistia-palestine], the goddess of the Sidonians [of Lebanan ie astarte-venus-aphrodite], and after Milcom [or Moloch of Moab], the abomination of the Ammonites. [Also include Chemosh the sun god of Moab. and he built shrines to them: Moloch in Gehenna valley of Hinnom to the south of Jerusalem; Sun God Chemosh to the East etc.]
As the Goddess of Darkness over the land was displeased: ...but....
"According to 1 Kings 11:9-13, it was because of these sins that "the Lord punishes Solomon by tearing the kingdom in two":
And the Lord was angry with Solomon, because his heart had turned away from the Lord, the God of Israel, who had appeared to him twice and had commanded him concerning this thing, that he should not go after other gods. But he did not keep what the LORD commanded. Therefore the Lord said to Solomon, "Since this has been your practice and you have not kept my covenant and my statutes that I have commanded you, I will surely tear the kingdom from you and will give it to your servant. Yet for the sake of David your father I will not do it in your days, but I will tear it out of the hand of your son. However, I will not tear away all the kingdom, but I will give one tribe to your son, for the sake of David my servant and for the sake of Jerusalem that I have chosen."
This was so Solomon could find his reign unaffected and harmonious with the pagan gods He served; and his Kingdom Intact and bountiful. But woe to those who followed the Goddess of Darkness over the land; she would bring distruction to the land as forseen by Balaam the Prophet!
Quran circa 600 ce-ad: Genie Magicks
"Arabian legends: Ruling a large kingdom that extended south into Yemen, via Queen of Sheba who accepted Solomon's prophethood and religion. He was famed throughout the lands for his wisdom [Sophia] and fair judgments." - Etheopia owned western Yemen.
"chanted of sorcery in the reign of Sulaiman"
"hey teach people sorcery and such things that came down to the two angels at Babel, Harut and Marut,"
"So they learn from them(the two Angels) that by which they might cause a separation between a man and his wife" (Holy Quran, chapter 2.102)
"And before Sulayman [Solomon] were marshaled his hosts,- of Jinns and men and birds, and they were all kept in order and ranks. Quran 27:17"
"According to tradition, when Solomon died he was standing watching the work of his Jinn [Genie], while leaning on his cane. There he silently died, but did not fall. He remained in this position, and the Jinn, thinking he was still alive watching them work, kept working. But termites were eating the cane, so that the body of Solomon fell after forty days"
"The Key of Solomon, in Latin Clavis Salomonis or Clavicula Salomonis, Hebrew Mafteah Shelomoh, is a grimoire, or book on magic, attributed to King Solomon, probably dating to the European 14th to 15th century Italian Renaissance and presenting a typical example of Renaissance magic. [maybe based on earlier legends - see Islam Quran 600 ce]
It is possible that the Key of Solomon inspired later works, particularly the European 17th century grimoire also known as Clavicula Salomonis or "The Lesser Key of Solomon", although there are many differences between the books."