Solomon was a King of Israel. The biblical accounts identify Solomon as the son of David. 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. Solomon is the subject of many other later references and legends. One of the qualities most ascribed to Solomon is his wisdom.