All the officials, the warriors, and the sons of King David pledged their loyalty to King Solomon.