1 Chronicles 19 AMP
1. Now it came about after this, that Nahash king of the Ammonites died, and his son became king in his place.
2. David said, “I will be kind (gracious) to Hanun son of Nahash, because his father was kind to me.” So David sent messengers to comfort him concerning [the death of] his father. And the servants of David came to the land of the Ammonites to comfort Hanun.
3. But the leaders of the Ammonites said to Hanun, “Do you think that David has sent people to console and comfort you because he honors your father? Have his servants not come to you to search and to overthrow and to spy out the land?”
4. Therefore Hanun took David’s servants, shaved them [cutting off half their beards], and cut off their garments in the middle as far as their buttocks, and sent them away [in humiliation].
5. When David was told how the men were treated, he sent messengers to meet them, for they were very humiliated and ashamed [to return]. So the king said, “Stay in Jericho until your beards grow [back], and then return.”
6. When the Ammonites saw that they had made themselves hateful to David, Hanun and his people sent 1,000 talents of silver to hire for themselves chariots and horsemen from Mesopotamia, Aram-maacah, and Zobah.
7. So they hired for themselves 32,000 chariots and the king of Maacah and his troops, who came and camped before Medeba. And the Ammonites gathered together from their cities and came to battle.
8. When David heard about it, he sent Joab and all the army of courageous men.
9. The Ammonites came out and lined up in battle formation at the entrance of the city [Medeba], while the kings who had come were by themselves in the open country.Ammon and Aram Defeated
10. Now when Joab saw that the battle was set against him in the front and in the rear, he chose warriors from all the choice men of Israel and put them in formation against the Arameans (Syrians).
11. The rest of the soldiers he placed in the hand of Abishai his brother, and they lined up against the Ammonites.
12. He said, “If the Arameans are too strong for me, then you shall help me; but if the Ammonites are too strong for you, I will help you.
13. Be strong and let us show ourselves courageous for the sake of our people and for the cities of our God; and may the Lord do what is good in His sight.”
14. So Joab and the people who were with him approached the Arameans for battle, and they fled before him.
15. When the Ammonites saw that the Arameans fled, they also fled before Abishai, Joab’s brother, and entered the city [Medeba]. Then Joab came to Jerusalem.
16. When the Arameans (Syrians) saw that they had been defeated by Israel, they sent messengers and brought out the Arameans who were beyond the [Euphrates] River, with Shophach the commander of the army of Hadadezer leading them.
17. When this was told to David, he gathered all Israel and crossed the Jordan, and came upon them and drew up in formation against them. So when David drew up in battle array against the Arameans, they fought against him.
18. But the Arameans fled before Israel, and David killed of the Arameans 7,000 charioteers and 40,000 foot soldiers, and put to death Shophach the commander of the army.
19. When the servants of Hadadezer saw that they had been defeated by Israel, they made peace with David and became subject to and served him. And the Arameans (Syrians) were not willing to help the Ammonites anymore.