1 Chronicles 29:23-24 MSG

23 Solomon sat on the throne of God as king in place of David his father. And everything went well; all Israel obeyed him.
24 All the leaders of the people, including all the sons of King David, accepted Solomon as their king and promised their loyalty.