And they hired for themselves two and thirty thousand chariots, and the king of Maacah and his people; and they came and encamped before Medeba: and the children of Ammon assembled out of their cities, and came to fight.