1 Chronicles 29:23-24 NLT

23 So Solomon took the throne of the LORD in place of his father, David, and he succeeded in everything, and all Israel obeyed him.
24 All the officials, the warriors, and the sons of King David pledged their loyalty to King Solomon.