And David numbered the people that were with him, and set captains of thousands, and captains of hundreds over them.