Some time later, when Nachash the king of the people of 'Amon died, his son became king in his place.
David said, "I will be kind to Hanun the son of Nachash, because his father showed grace to me." So David sent messengers to comfort him about his father. David's servants entered the territory of the people of 'Amon to go to Hanun and comfort him;
but the leaders of the people of 'Amon said to Hanun, "Do you really think David is honoring your father by sending people to comfort you? Haven't his servants come to you in order to look the city over, overthrow it and reconnoiter the land?"
So Hanun took David's servants, shaved them, cut off their clothes halfway up, at their hips, and then sent them away.
Some people reported to David how the men had been treated. He sent a delegation to meet them, because the men had been deeply humiliated. The king said, "Stay in Yericho until your beards have grown back, and then return."
Aware that they had made themselves utterly abhorrent to David, Hanun and the people of 'Amon sent thirty-three tons of silver to hire chariots and horsemen from Aram-Naharayim, Aram-Ma'akhah and Tzovah.
They hired 32,000 chariots, as well as the king of Ma'akhah with his people, who came and pitched their camp in front of Meidva. Then the people of 'Amon assembled themselves from their cities and went out to fight.
When David heard of it, he sent Yo'av with his entire army of trained soldiers.
The army of 'Amon came out and went into battle formation at the city gate, while the kings who had come were alone in the countryside.
When Yo'av saw that he would be fighting on two fronts, ahead and behind, he chose the best troops of Isra'el to deploy against Aram;
while the rest of the army he put under the command of Avishai his brother to deploy against the army of 'Amon.
He said, "If Aram is too strong for me, you help me; but if the army of 'Amon is too strong for you, then I will help you.
Take courage, and let's be strong for the sake of our people and the cities of our God. May ADONAI do what seems good to him."
So Yo'av and the people with him went to engage Aram in battle, and they fled before him.
When the people of 'Amon saw that Aram had fled, they likewise fled before Avishai his brother and retreated into the city. Then Yo'av went to Yerushalayim.
When Aram saw that Isra'el had gotten the better of them, they sent messengers and brought out the people of Aram who lived beyond the [Euphrates] River, with Shofakh the commander of Hadar'ezer's army at their head.
It was reported to David; so he gathered all Isra'el together and crossed the Yarden to engage them. David deployed his forces for battle against Aram; and after he had done so, fought them.
But Aram fled before Isra'el; David killed 7,000 chariot-drivers and 40,000 foot soldiers from Aram; and he killed Shofakh the commander of the army.
When all Hadar'ezer's servants saw that they had been defeated by Isra'el, they made peace with David and became his subjects; and Aram would no longer help the people of 'Amon.