1 Chronicles 29:24

And all the princes, and the mighty men, and all the sons likewise of king David, submitted themselves unto Solomon the king.

After he was made king in David's place, Solomon was accepted as king by all the princes and the mighty men and likewise by all the sons of David, who submitted themselves unto him as king. Their submission was given in connection with David's effort to secure the leaders' support for the temple work entrusted to Solomon. Solomon was the one whom God had chosen to build the temple. His kingdom was promised to be established if he remained faithful to God's commandments and judgments.