They hired thirty-two thousand chariots and the king of Maacah with his army, who came and encamped before Medeba. And the Ammonites were mustered from their cities and came to battle.
When the Ammonites saw that they had become odious to David, the Ammonites sent and hired the Syrians of Beth-rehob, and the Syrians of Zobah, twenty thousand foot soldiers, and the king of Maacah with a thousand men, and the men of Tob, twelve thousand men.
And David took from him a thousand chariots, seven thousand horsemen, and twenty thousand foot soldiers; and David hamstrung all the chariot horses, but left enough for a hundred chariots.
The Egyptians pursued them, all Pharaoh's horses and chariots and his horsemen and his army, and overtook them encamped at the sea, by Pi-ha-hiroth, in front of Baal-zephon.
So their territory was from Aroer, which is on the edge of the valley of the Arnon, and the city that is in the middle of the valley, and all the tableland by Medeba;
from Aroer, which is on the edge of the valley of the Arnon, and the city that is in the middle of the valley, and all the tableland of Medeba as far as Dibon;
Then the people of Israel cried to the Lord for help; for he had nine hundred chariots of iron, and oppressed the people of Israel cruelly for twenty years.
And the Philistines mustered to fight with Israel, thirty thousand chariots, and six thousand horsemen, and troops like the sand on the seashore in multitude; they came up and encamped in Michmash, to the east of Beth-aven.