And when the Ammonites saw that the Syrians had fled, they also fled before Abishai and entered the city. So Joab returned from battling against the Ammonites and came to Jerusalem.
King David dedicated them also to the Lord, with the silver and the gold he brought from all these nations: Edom, Moab, the Ammonites, the Philistines, and the Amalekites.
He defeated Moab, and measured them with a line, making them lie down on the ground; two lines he measured to be put to death, and one full line to keep alive. And the Moabites became servants to David, bringing tribute.
Now David and his men went up and made attacks on the Geshurites, Girzites, and Amalekites [enemies of Israel Joshua had failed to exterminate]. For from of old those nations inhabited the land, as one goes to Shur even to the land of Egypt. [Deut. 25:19; Josh. 13:1, 2, 13.]