1 Chronicles 19 King James Version (KJV)
19 Now it came to pass after this, that Nahash the king of the children of Ammon died, and his son reigned in his stead.
2 And David said, I will shew kindness unto Hanun the son of Nahash, because his father shewed kindness to me. And David sent messengers to comfort him concerning his father. So the servants of David came into the land of the children of Ammon to Hanun, to comfort him.
3 But the princes of the children of Ammon said to Hanun, Thinkest thou that David doth honour thy father, that he hath sent comforters unto thee? are not his servants come unto thee for to search, and to overthrow, and to spy out the land?
4 Wherefore Hanun took David's servants, and shaved them, and cut off their garments in the midst hard by their buttocks, and sent them away.
5 Then there went certain, and told David how the men were served. And he sent to meet them: for the men were greatly ashamed. And the king said, Tarry at Jericho until your beards be grown, and then return.
6 And when the children of Ammon saw that they had made themselves odious to David, Hanun and the children of Ammon sent a thousand talents of silver to hire them chariots and horsemen out of Mesopotamia, and out of Syriamaachah, and out of Zobah.
7 So they hired thirty and two thousand chariots, and the king of Maachah and his people; who came and pitched before Medeba. And the children of Ammon gathered themselves together from their cities, and came to battle.
8 And when David heard of it, he sent Joab, and all the host of the mighty men.
9 And the children of Ammon came out, and put the battle in array before the gate of the city: and the kings that were come were by themselves in the field.
10 Now when Joab saw that the battle was set against him before and behind, he chose out of all the choice of Israel, and put them in array against the Syrians.
11 And the rest of the people he delivered unto the hand of Abishai his brother, and they set themselves in array against the children of Ammon.
12 And he said, If the Syrians be too strong for me, then thou shalt help me: but if the children of Ammon be too strong for thee, then I will help thee.
13 Be of good courage, and let us behave ourselves valiantly for our people, and for the cities of our God: and let the Lord do that which is good in his sight.
14 So Joab and the people that were with him drew nigh before the Syrians unto the battle; and they fled before him.
15 And when the children of Ammon saw that the Syrians were fled, they likewise fled before Abishai his brother, and entered into the city. Then Joab came to Jerusalem.
16 And when the Syrians saw that they were put to the worse before Israel, they sent messengers, and drew forth the Syrians that were beyond the river: and Shophach the captain of the host of Hadarezer went before them.
17 And it was told David; and he gathered all Israel, and passed over Jordan, and came upon them, and set the battle in array against them. So when David had put the battle in array against the Syrians, they fought with him.
18 But the Syrians fled before Israel; and David slew of the Syrians seven thousand men which fought in chariots, and forty thousand footmen, and killed Shophach the captain of the host.
19 And when the servants of Hadarezer saw that they were put to the worse before Israel, they made peace with David, and became his servants: neither would the Syrians help the children of Ammon any more.
1 Chronicles 19 New International Version (NIV)
David Defeats the Ammonites
19 In the course of time, Nahash king of the Ammonites died, and his son succeeded him as king. 2 David thought, “I will show kindness to Hanun son of Nahash, because his father showed kindness to me.” So David sent a delegation to express his sympathy to Hanun concerning his father.
When David’s envoys came to Hanun in the land of the Ammonites to express sympathy to him, 3 the Ammonite commanders said to Hanun, “Do you think David is honoring your father by sending envoys to you to express sympathy? Haven’t his envoys come to you only to explore and spy out the country and overthrow it?” 4 So Hanun seized David’s envoys, shaved them, cut off their garments at the buttocks, and sent them away.
5 When someone came and told David about the men, he sent messengers to meet them, 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, Hanun and the Ammonites sent a thousand talents[a] of silver to hire chariots and charioteers from Aram Naharaim,[b] Aram Maakah and Zobah. 7 They hired thirty-two thousand chariots and charioteers, as well as the king of Maakah with his troops, who came and camped near Medeba, while the Ammonites were mustered from their towns and moved out for battle.
8 On hearing this, David sent Joab out with the entire army of fighting men. 9 The Ammonites came out and drew up in battle formation at the entrance to their city, while the kings who had come were by themselves in the open country.
10 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. 11 He put the rest of the men under the command of Abishai his brother, and they were deployed against the Ammonites. 12 Joab said, “If the Arameans are too strong for me, then you are to rescue me; but if the Ammonites are too strong for you, then I will rescue you. 13 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.”
14 Then Joab and the troops with him advanced to fight the Arameans, and they fled before him. 15 When the Ammonites realized that the Arameans were fleeing, they too fled before his brother Abishai and went inside the city. So Joab went back to Jerusalem.
16 After the Arameans saw that they had been routed by Israel, they sent messengers and had Arameans brought from beyond the Euphrates River, with Shophak the commander of Hadadezer’s army leading them.
17 When David was told of this, he gathered all Israel and crossed the Jordan; he advanced against them and formed his battle lines opposite them. David formed his lines to meet the Arameans in battle, and they fought against him. 18 But they fled before Israel, and David killed seven thousand of their charioteers and forty thousand of their foot soldiers. He also killed Shophak the commander of their army.
19 When the vassals of Hadadezer saw that they had been routed by Israel, they made peace with David and became subject to him.
So the Arameans were not willing to help the Ammonites anymore.