David divided his soldiers into groups of a hundred and groups of a thousand. Then he chose officers to be in command of each group.