<P> In the biblical narrative , David is a young shepherd who first gains fame as a musician and later by killing Goliath . He becomes a favorite of King Saul and a close friend of Saul 's son Jonathan . Worried that David is trying to take his throne , Saul turns on David . After Saul and Jonathan are killed in battle , David is anointed as King . David conquers Jerusalem , taking the Ark of the Covenant into the city , and establishing the kingdom founded by Saul . As king , David arranges the death of Uriah the Hittite to cover his adultery with Bathsheba . According to the same biblical text , God denies David the opportunity to build the temple and his son , Absalom , tries to overthrow him . David flees Jerusalem during Absalom 's rebellion , but after Absalom 's death he returns to the city to rule Israel . Before his peaceful death , he chooses his son Solomon as his successor . He is mentioned in the prophetic literature as an ideal king and an ancestor of a future Messiah , and many psalms are ascribed to him . </P>
who was the second king of israel that became the symbol of an ideal king of israel
David