And David said, "I will deal loyally with Hanun the son of Nahash, as his father dealt loyally with me." So David sent by his servants to console him concerning his father. And David's servants came into the land of the Ammonites.
But the princes of the Ammonites said to Hanun their lord, "Do you think, because David has sent comforters to you, that he is honoring your father? Has not David sent his servants to you to search the city, and to spy it out, and to overthrow it?"
When it was told David, he sent to meet them, for the men were greatly ashamed. And the king said, "Remain at Jericho until your beards have grown, and then return."
When the Ammonites saw that they had become odious to David, the Ammonites sent and hired the Syrians of Bethrehob, and the Syrians of Zobah, twenty thousand foot soldiers, and the king of Maacah with a thousand men, and the men of Tob, twelve thousand men.
And the Ammonites came out and drew up in battle array at the entrance of the gate; and the Syrians of Zobah and of Rehob, and the men of Tob and Maacah, were by themselves in the open country.
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 Syrians;
And he said, "If the Syrians 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.
And when the Ammonites saw that the Syrians fled, they likewise fled before Abishai, and entered the city. Then Joab returned from fighting against the Ammonites, and came to Jerusalem.
And Hadadezer sent, and brought out the Syrians who were beyond the Euphrates; and they came to Helam, with Shobach the commander of the army of Hadadezer at their head.
And when it was told David, he gathered all Israel together, and crossed the Jordan, and came to Helam. And the Syrians arrayed themselves against David, and fought with him.
And the Syrians fled before Israel; and David slew of the Syrians the men of seven hundred chariots, and forty thousand horsemen, and wounded Shobach the commander of their army, so that he died there.
And 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 Syrians feared to help the Ammonites any more.