1 Kings 3:10-14
10And the speech pleased the LORD, that Solomon had asked this thing.
11And God said unto him, Because thou hast asked this thing, and hast not asked for thyself long life; neither hast asked riches for thyself, nor hast asked the life of thine enemies; but hast asked for thyself understanding to discern judgment;
12Behold, I have done according to thy words: lo, I have given thee a wise and an understanding heart; so that there was none like thee before thee, neither after thee shall any arise like unto thee.
13And I have also given thee that which thou hast not asked, both riches, and honour: so that there shall not be any among the kings like unto thee all thy days.
14And if thou wilt walk in my ways, to keep my statutes and my commandments, as thy father David did walk, then I will lengthen thy days.
Yet, the Wisest man as defined by God in the same breath was guilty of….
1 Kings 11:1-13
1But king Solomon loved many strange women, together with the daughter of Pharaoh, women of the Moabites, Ammonites, Edomites, Zidonians, and Hittites:
2Of the nations concerning which the LORD said unto the children of Israel, Ye shall not go in to them, neither shall they come in unto you: for surely they will turn away your heart after their gods: Solomon clave unto these in love.
3And he had seven hundred wives, princesses, and three hundred concubines: and his wives turned away his heart.
4For it came to pass, when Solomon was old, that his wives turned away his heart after other gods: and his heart was not perfect with the LORD his God, as was the heart of David his father.
5For Solomon went after Ashtoreth the goddess of the Zidonians, and after Milcom the abomination of the Ammonites.
6And Solomon did evil in the sight of the LORD, and went not fully after the LORD, as did David his father.
7Then did Solomon build an high place for Chemosh, the abomination of Moab, in the hill that is before Jerusalem, and for Molech, the abomination of the children of Ammon.
8And likewise did he for all his strange wives, which burnt incense and sacrificed unto their gods.
9And the LORD was angry with Solomon, because his heart was turned from the LORD God of Israel, which had appeared unto him twice,
10And had commanded him concerning this thing, that he should not go after other gods: but he kept not that which the LORD commanded.
11Wherefore the LORD said unto Solomon, Forasmuch as this is done of thee, and thou hast not kept my covenant and my statutes, which I have commanded thee, I will surely rend the kingdom from thee, and will give it to thy servant.
12Notwithstanding in thy days I will not do it for David thy father’s sake: but I will rend it out of the hand of thy son.
13Howbeit I will not rend away all the kingdom; but will give one tribe to thy son for David my servant’s sake, and for Jerusalem’s sake which I have chosen.
So for the wisest man as defined by God to later have committed all manner of Sin in fornication with other races, idolatry of other Gods, and debase sin, I would say hes not doing so good.