“If the Arameans are too strong for me,” Joab said, “then you will be my help. However, if the Ammonites are too strong for you, I’ll come to help you.
When the Ammonites saw that the Arameans had fled, they too fled before Abishai and entered the city. So Joab withdrew from the attack against the Ammonites and went to Jerusalem.
He also defeated the Moabites, and after making them lie down on the ground, he measured them off with a cord. He measured every two cord lengths of those to be put to death and one length of those to be kept alive. So the Moabites became David’s subjects and brought tribute.
King David also dedicated these to the Lord, along with the silver and gold he had carried off from all the nations — from Edom, Moab, the Ammonites, the Philistines, and the Amalekites.
David and his men went up and raided the Geshurites, the Girzites, and the Amalekites. From ancient times they had been the inhabitants of the region through Shur as far as the land of Egypt.