2 Samuel 10 New Revised Standard Version (NRSV)
The Ammonites and Arameans Are Defeated
10 Some time afterward, the king of the Ammonites died, and his son Hanun succeeded him. 2 David said, “I will deal loyally with Hanun son of Nahash, just as his father dealt loyally with me.” So David sent envoys to console him concerning his father. When David’s envoys came into the land of the Ammonites, 3 the princes of the Ammonites said to their lord Hanun, “Do you really think that David is honoring your father just because he has sent messengers with condolences to you? Has not David sent his envoys to you to search the city, to spy it out, and to overthrow it?” 4 So Hanun seized David’s envoys, shaved off half the beard of each, cut off their garments in the middle at their hips, and sent them away. 5 When David was told, he sent to meet them, for the men were greatly ashamed. The king said, “Remain at Jericho until your beards have grown, and then return.”
6 When the Ammonites saw that they had become odious to David, the Ammonites sent and hired the Arameans of Beth-rehob and the Arameans of Zobah, twenty thousand foot soldiers, as well as the king of Maacah, one thousand men, and the men of Tob, twelve thousand men. 7 When David heard of it, he sent Joab and all the army with the warriors. 8 The Ammonites came out and drew up in battle array at the entrance of the gate; but the Arameans of Zobah and of Rehob, and the men of Tob and Maacah, were by themselves in the open country.
9 When Joab saw that the battle was set against him both in front and in the rear, he chose some of the picked men of Israel, and arrayed them against the Arameans; 10 the rest of his men he put in the charge of his brother Abishai, and he arrayed them against the Ammonites. 11 He said, “If the Arameans are too strong for me, then you shall help me; but if the Ammonites are too strong for you, then I will come and help you. 12 Be strong, and let us be courageous for the sake of our people, and for the cities of our God; and may the Lord do what seems good to him.” 13 So Joab and the people who were with him moved forward into battle against the Arameans; and they fled before him. 14 When the Ammonites saw that the Arameans fled, they likewise fled before Abishai, and entered the city. Then Joab returned from fighting against the Ammonites, and came to Jerusalem.
15 But when the Arameans saw that they had been defeated by Israel, they gathered themselves together. 16 Hadadezer sent and brought out the Arameans who were beyond the Euphrates; and they came to Helam, with Shobach the commander of the army of Hadadezer at their head. 17 When it was told David, he gathered all Israel together, and crossed the Jordan, and came to Helam. The Arameans arrayed themselves against David and fought with him. 18 The Arameans fled before Israel; and David killed of the Arameans seven hundred chariot teams, and forty thousand horsemen,[a] and wounded Shobach the commander of their army, so that he died there. 19 When all the kings who were servants of Hadadezer saw that they had been defeated by Israel, they made peace with Israel, and became subject to them. So the Arameans were afraid to help the Ammonites any more.
2 Samuel 10 New International Version (NIV)
David Defeats the Ammonites
10 In the course of time, the king of the Ammonites died, and his son Hanun succeeded him as king. 2 David thought, “I will show kindness to Hanun son of Nahash, just as his father showed kindness to me.” So David sent a delegation to express his sympathy to Hanun concerning his father.
When David’s men came to the land of the Ammonites, 3 the Ammonite commanders said to Hanun their lord, “Do you think David is honoring your father by sending envoys to you to express sympathy? Hasn’t David sent them to you only to explore the city and spy it out and overthrow it?” 4 So Hanun seized David’s envoys, shaved off half of each man’s beard, cut off their garments at the buttocks, and sent them away.
5 When David was told about this, he sent messengers to meet the men, for they were greatly humiliated. The king said, “Stay at Jericho till your beards have grown, and then come back.”
6 When the Ammonites realized that they had become obnoxious to David, they hired twenty thousand Aramean foot soldiers from Beth Rehob and Zobah, as well as the king of Maakah with a thousand men, and also twelve thousand men from Tob.
7 On hearing this, David sent Joab out with the entire army of fighting men. 8 The Ammonites came out and drew up in battle formation at the entrance of their city gate, while the Arameans of Zobah and Rehob and the men of Tob and Maakah were by themselves in the open country.
9 Joab saw that there were battle lines in front of him and behind him; so he selected some of the best troops in Israel and deployed them against the Arameans. 10 He put the rest of the men under the command of Abishai his brother and deployed them against the Ammonites. 11 Joab said, “If the Arameans are too strong for me, then you are to come to my rescue; but if the Ammonites are too strong for you, then I will come to rescue you. 12 Be strong, and let us fight bravely for our people and the cities of our God. The Lord will do what is good in his sight.”
13 Then Joab and the troops with him advanced to fight the Arameans, and they fled before him. 14 When the Ammonites realized that the Arameans were fleeing, they fled before Abishai and went inside the city. So Joab returned from fighting the Ammonites and came to Jerusalem.
15 After the Arameans saw that they had been routed by Israel, they regrouped. 16 Hadadezer had Arameans brought from beyond the Euphrates River; they went to Helam, with Shobak the commander of Hadadezer’s army leading them.
17 When David was told of this, he gathered all Israel, crossed the Jordan and went to Helam. The Arameans formed their battle lines to meet David and fought against him. 18 But they fled before Israel, and David killed seven hundred of their charioteers and forty thousand of their foot soldiers.[a] He also struck down Shobak the commander of their army, and he died there. 19 When all the kings who were vassals of Hadadezer saw that they had been routed by Israel, they made peace with the Israelites and became subject to them.
So the Arameans were afraid to help the Ammonites anymore.