David reviewed his troops and appointed commanders of thousands and of hundreds over them.