1 David mustered the men who were with him and appointed over them commanders of thousands and commanders of hundreds.

Read 2 Samuel 18:1 Using Other Translations

And David numbered the people that were with him, and set captains of thousands and captains of hundreds over them.
Then David mustered the men who were with him and set over them commanders of thousands and commanders of hundreds.
David now mustered the men who were with him and appointed generals and captains to lead them.