1 Chronicles 29:23-24 NLT

23 So Solomon took the throne of the LORD in place of his father, David, and he prospered greatly, and all Israel obeyed him.
24 All the royal officials, the army commanders, and the sons of King David pledged their loyalty to King Solomon.