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.
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.
Then he sent them out in three groups, with Joab and Joab's brother Abishai and Ittai from Gath, each in command of a group. And the king said to his men, “I will go with you myself.”