1 Chronicles 29:22-29
English Standard Version
23Then Solomon sat on the throne of the Lord as king in place of David his father. And he prospered, and all Israel obeyed him.
24All the leaders and the mighty men, and also all the sons of King David, pledged their allegiance to King Solomon.
25And the Lord made Solomon very great in the sight of all Israel and bestowed on him such royal majesty as had not been on any king before him in Israel.
26Thus David the son of Jesse reigned over all Israel.
27The time that he reigned over Israel was forty years. He reigned seven years in Hebron and thirty-three years in Jerusalem.
28Then he died at a good age, full of days, riches, and honor. And Solomon his son reigned in his place.
29Now the acts of King David, from first to last, are written in the Chronicles of Samuel the seer, and in the Chronicles of Nathan the prophet, and in the Chronicles of Gad the seer,