5 It was reported to David about his men, so he sent messengers to meet them, since the men were deeply humiliated. The king said, “Stay in Jericho until your beards grow back; then return.”
6 When the Ammonites realized they had made themselves repulsive to David, Hanun and the Ammonites sent 38 tons of silver to hire chariots and horsemen from Aram-naharaim, Aram-maacah, and Zobah.
7 They hired 32,000 chariots and the king of Maacah with his army, who came and camped near Medeba. The Ammonites also came together from their cities for the battle.
8 David heard about this and sent Joab and the entire army of warriors.
9 The Ammonites marched out and lined up in battle formation at the entrance of the city while the kings who had come were in the field by themselves.
10 When Joab saw that there was a battle line in front of him and another behind him, he chose some men out of all the elite troops of Israel and lined up in battle formation to engage the Arameans.
11 He placed the rest of the forces under the command of his brother Abishai, and they lined up in battle formation to engage the Ammonites.