1And it came to pass after this, that Naas the king of the children of Ammon died, and Anan his son reigned in his stead.
2And David said, I will act kindly toward Anan the son of Naas, as his father acted kindly towards me. And David sent messengers to condole with him on the death of his father. So the servants of David came into the land of the children of Ammon to Anan, to comfort him.
3And the chiefs of the children of Ammon said to Anan, Is it to honor your father before you, that David has sent comforters to you? Have not his servants come to you that they might search the city, and to spy out the land?
4And Anan took the servants of David, and shaved them, and cut off the half of their garments as far as their tunic, and sent them away.
5And there came men to report to David concerning the men: and he sent to meet them, for they were greatly disgraced: and the king said, Dwell in Jericho until your beards have grown, and return.
6And the children of Ammon saw that the people of David were ashamed, and Anan and the children of Ammon sent a thousand talents of silver to hire for themselves chariots and horsemen out of Syria of Mesopotamia, and out of Syria Maacha, and from Sobal.
7And they hired for themselves two and thirty thousand chariots, and the king of Maacha and his people; and they came and encamped before Medaba: and the children of Ammon assembled out of their cities, and came to fight.
8And David heard, and sent Joab and all the host of mighty men.
9And the children of Ammon came forth, and set themselves in array for battle by the gate of the city: and the kings that were come forth encamped by themselves in the plain.
10And Joab saw that they were fronting him to fight against him before and behind, and he chose some out of all the young men of Israel, and they set themselves in array against the Syrian.
11And the rest of the people he gave into the hand of his brother Abesai, and they set themselves in array against the children of Ammon.
12And he said, If the Syrian should prevail against me, then shall you deliver me: and if the children of Ammon should prevail against you, then will I deliver you.
13Be of good courage, and let us be strong, for our people, and for the cities of our God: and the Lord shall do what is good in his eyes.
14So Joab and the people that were with him set themselves in battle array against the Syrians, and they fled from them.
15And the children of Ammon saw that the Syrians fled, and they also fled from before Abesai, and from before Joab his brother, and they came to the city: and Joab came to Jerusalem.
16And the Syrian saw that Israel had defeated him, and he sent messengers, and they brought out the Syrians from beyond the river; and Sophath the commander-in-chief of the forces of Adraazar was before them.
17And it was told David; and he gathered all Israel, and crossed over Jordan, and came upon them, and set the battle in array against them. So David set his army in array to fight against the Syrians, and they fought against him.
18And the Syrians fled from before Israel; and David killed of the Syrians seven thousand riders in chariots, and forty thousand infantry, and he killed Sophath the commander-in-chief of the forces.
19And the servants of Adraazar saw that they were defeated before Israel, and they made peace with David and served him: and the Syrians would not any more help the children of Ammon.