1 Samuel 30:16-31 - David Defeats The Amalekites

16 When he had brought him down, behold, they were spread around over all the ground, eating, drinking, and dancing, because of all the great spoil that they had taken out of the land of the Philistines, and out of the land of Judah. 17 David struck them from the twilight even to the evening of the next day. Not a man of them escaped from there, except four hundred young men, who rode on camels and fled.

18 David recovered all that the Amalekites had taken; and David rescued his two wives. 19 There was nothing lacking to them, neither small nor great, neither sons nor daughters, neither spoil, nor anything that they had taken to them. David brought back all. 20 David took all the flocks and the herds, [which] they drove before those [other] livestock, and said, "This is David's spoil."

21 David came to the two hundred men, who were so faint that they could not follow David, whom also they had made to stay at the brook Besor; and they went forth to meet David, and to meet the people who were with him. When David came near to the people, he greeted them. 22 Then all the wicked men and base fellows, of those who went with David, answered and said, "Because they didn't go with us, we will not give them anything of the spoil that we have recovered, except to every man his wife and his children, that he may lead them away, and depart."

23 Then David said, "You shall not do so, my brothers, with that which Yahweh has given to us, who has preserved us, and delivered the troop that came against us into our hand. 24 Who will listen to you in this matter? For as his share is who goes down to the battle, so shall his share be who tarries by the baggage: they shall share alike." 25 It was so from that day forward, that he made it a statute and an ordinance for Israel to this day.

26 When David came to Ziklag, he sent of the spoil to the elders of Judah, even to his friends, saying, "Behold, a present for you of the spoil of the enemies of Yahweh." 27 He sent it to those who were in Bethel, and to those who were in Ramoth of the South, and to those who were in Jattir, 28 and to those who were in Aroer, and to those who were in Siphmoth, and to those who were in Eshtemoa, 29 and to those who were in Racal, and to those who were in the cities of the Jerahmeelites, and to those who were in the cities of the Kenites, 30 and to those who were in Hormah, and to those who were in Borashan, and to those who were in Athach, 31 and to those who were in Hebron, and to all the places where David himself and his men used to stay.