Some time later, the king of the Ammonites died and was succeeded by his son Hanun.
The Ammonite king's death gives David an opportunity to extend the same kind of covenant loyalty he has just shown Mephibosheth — this time toward a foreign ruler's son rather than an Israelite, prompted by an old kindness Nahash had once shown David during his years as a fugitive.
When the Ammonites realized that they had become a stench to David, they hired twenty thousand Aramean foot soldiers from Beth-rehob and Zoba, as well as a thousand men from the king of Maacah and twelve thousand men from Tob.
The Ammonites know exactly what they have done and what it will likely cost them, and rather than seek any reconciliation, they double down, hiring a substantial mercenary force from several Syrian kingdoms to meet the retaliation they now expect.
When Joab saw the battle lines before him and behind him, he selected some of the best men of Israel and arrayed them against the Arameans.
Joab recognizes immediately that his army is caught between two enemy forces rather than facing one, and responds not with panic but with a deliberate reorganization of his own troops.
So Joab and his troops advanced to fight the Arameans, who fled before him.
Joab's own division engages the Syrians first, and the mercenary force breaks and runs — hired soldiers with no real stake in the outcome prove far less willing to die for this cause than Israel's own army is.
When the Arameans saw that they had been defeated by Israel, they regrouped.
The Syrians are not finished after one defeat; rather than accepting the loss, they regroup and prepare to try again.