The people who lived in the villages around Gerar learned what had happened and were afraid of the LORD. So Judah's army easily defeated them and carried off everything of value that they wanted from these towns.
including their livestock. David also took the sheep and cattle that the Amalekites had with them, but he kept these separate from the others. Everyone agreed that these would be David's reward.