3 the Ammonite officials asked their master Hanun, "Do you really believe David is honoring your father because he has sent you condolences? Of course not! David has sent his servants to you to search the city, spy it out, and overthrow it."
4 So Hanun seized David’s servants and shaved off their beards, cut off half their garments, from their buttocks down, and sent them off.
5 When this was reported to David, he sent men to meet them because they were completely ashamed. The king said, "Stay in Jericho until your beards have grown. Then you can come back."
6 When the Ammonites realized that they had offended David, they sent for and hired the Arameans of Beth-rehob and the Arameans of Zobah, totaling twenty thousand foot soldiers; the king of Maacah with one thousand soldiers; and twelve thousand soldiers from Tob.
7 When David heard this, he sent Joab with the entire army of warriors.
8 The Ammonites marched out and formed a battle line at the entrance to the city. The Arameans of Zobah and Rehob and the soldiers from Tob and Maacah remained in the countryside.
9 When Joab saw that the battle would be fought on two fronts, he chose some of Israel’s finest warriors and deployed them to meet the Arameans.