6 The Ammonites realized that they had made David their enemy, so they hired 20,000 Syrian soldiers from Bethrehob and Zobah, 12,000 men from Tob, and the king of Maacah with a thousand men.
7 David heard of it and sent Joab against them with the whole army.
8 The Ammonites marched out and took up their position at the entrance to Rabbah, their capital city, while the others, both the Syrians and the men from Tob and Maacah, took up their position in the open countryside.
9 Joab saw that the enemy troops would attack him in front and from the rear, so he chose the best of Israel's soldiers and put them in position facing the Syrians.
10 He placed the rest of his troops under the command of his brother Abishai, who put them in position facing the Ammonites.
11 Joab said to him, “If you see that the Syrians are defeating me, come and help me, and if the Ammonites are defeating you, I will go and help you.
12 Be strong and courageous! Let's fight hard for our people and for the cities of our God. And may the Lord's will be done!”