And when the sons of Ammon saw that the Syrians had fled, they likewise fled before Abishai, and entered into the city. Then Joab returned from the sons of Ammon, and came to Jerusalem.
These also king David dedicated to LORD, with the silver and the gold that he carried away from all the nations: from Edom, and from Moab, and from the sons of Ammon, and from the Philistines, and from Amalek.
And he smote Moab, and measured them with the line, making them to lay down on the ground. And he measured two lines to put to death, and one full line to keep alive. And the Moabites became servants to David, and brought tribute.
And he said, If the Syrians be too strong for me, then thou shall help me, but if the sons of Ammon be too strong for thee, then I will come and help thee.
And David and his men went up, and made a raid upon the Geshurites, and the Girzites, and the Amalekites, for those [nations] were the inhabitants of the land, who were of old as thou go to Shur, even to the land of Egypt.
And David smote them from the twilight even to the evening of the next day. And there escaped not a man of them, except four hundred young men who rode upon camels and fled.