It happened after this, that Nachash the king of the children of `Ammon died, and his son reigned in his place.
David said, I will show kindness to Hanun the son of Nachash, because his father shown kindness to me. So David sent messengers to comfort him concerning his father. David's servants came into the land of the children of `Ammon to Hanun, to comfort him.
But the princes of the children of `Ammon said to Hanun, Think you that David does honor your father, in that he has sent comforters to you? Aren't his servants come to you to search, and to overthrow, and to spy out the land?
So Hanun took David's servants, and shaved them, and cut off their garments in the middle, even to their buttocks, and sent them away.
Then there went certain persons, and told David how the men were served. He sent to meet them; for the men were greatly ashamed. The king said, Stay at Yericho until your beards be grown, and then return.
When the children of `Ammon saw that they had made themselves odious to David, Hanun and the children of `Ammon sent one thousand talents of silver to hire them chariots and horsemen out of Aram-Naharayim, and out of Arammaacah, and out of Tzovah.
So they hired them thirty-two thousand chariots, and the king of Ma`akhah and his people, who came and encamped before Medeva. The children of `Ammon gathered themselves together from their cities, and came to battle.
When David heard of it, he sent Yo'av, and all the host of the mighty men.
The children of `Ammon came out, and put the battle in array at the gate of the city: and the kings who had come were by themselves in the field.
Now when Yo'av saw that the battle was set against him before and behind, he chose of all the choice men of Yisra'el, and put them in array against the Aram.
The rest of the people he committed into the hand of Avishai his brother; and they put themselves in array against the children of `Ammon.
He said, If the Aram be too strong for me, then you shall help me; but if the children of `Ammon be too strong for you, then I will help you.
Be of good courage, and let us play the man for our people, and for the cities of our God: and the LORD do that which seems him good.
So Yo'av and the people who were with him drew near before the Aram to the battle; and they fled before him.
When the children of `Ammon saw that the Aram were fled, they likewise fled before Avishai his brother, and entered into the city. Then Yo'av came to Yerushalayim.
When the Aram saw that they were put to the worse before Yisra'el, they sent messengers, and drew forth the Aram who were beyond the River, with Shophach the captain of the host of Hadad`ezer at their head.
It was told David; and he gathered all Yisra'el together, and passed over the Yarden, and came on them, and set the battle in array against them. So when David had put the battle in array against the Aram, they fought with him.
The Aram fled before Yisra'el; and David killed of the Aram [the men of] seven thousand chariots, and forty thousand footmen, and killed Shophach the captain of the host.
When the servants of Hadad`ezer saw that they were put to the worse before Yisra'el, they made shalom with David, and served him: neither would the Aram help the children of `Ammon any more.