David arranged his soldiers for the battle. He divided them into groups, and appointed a commander for each 100 soldiers and a commander for each 1,000 soldiers.