1 Chronicles 29:23-24 RSV

23 Then Solomon sat on the throne of the LORD as king instead of David his father; and he prospered, and all Israel obeyed him.
24 All the leaders and the mighty men, and also all the sons of King David, pledged their allegiance to King Solomon.