The kings of Philistia divided their men into groups; some groups had 100 soldiers and some groups had 1,000 soldiers. David and his men were marching behind, with King Achish.