The Philistine kings were marching with their groups of 100 and 1,000 men. David and his men were marching at the back with Achish.