1 Chronicles 19:7-17

7 So they hired thirty and two thousand chariots, and the king of Maachah and his people, who came and encamped before Medeba. And the children of Ammon assembled from their cities, and came to battle.
8 And when David heard [of it], he sent Joab, and all the host of the mighty men.
9 And the children of Ammon came out, and put the battle in array before the gate of the city: and the kings that had come [were] by themselves in the field.
10 Now when Joab saw that the battle was set against him before and behind, he selected all the choice of Israel, and put [them] in array against the Syrians.
11 And the rest of the people he delivered to the hand of Abishai his brother, and they set [themselves] in array against the children of Ammon.
12 And he said, If the Syrians shall be too strong for me, then thou shalt help me: but if the children of Ammon shall be too strong for thee, then I will help thee.
13 Be of good courage, and let us behave ourselves valiantly for our people, and for the cities of our God: and let the LORD do [that which is] good in his sight.
14 So Joab and the people that [were] with him drew nigh before the Syrians to the battle; and they fled before him.
15 And when the children of Ammon saw that the Syrians had fled, they likewise fled before Abishai his brother, and entered into the city. Then Joab came to Jerusalem.
16 And when the Syrians saw that they were defeated before Israel, they sent messengers, and drew forth the Syrians that [were] beyond the river: and Shophach the captain of the host of Hadarezer [went] before them.
17 And it was told to David; and he gathered all Israel, and passed over Jordan, and came upon them, and set [the battle] in array against them. So when David had put the battle in array against the Syrians, they fought with him.
The Webster Bible is in the public domain.