Then in the midst of the assembly the Spirit of the LORD came upon Jahaziel the son of Zechariah, the son of Benaiah, the son of Jeiel, the son of Mattaniah, the Levite of the sons of Asaph; and he said, “Listen, all Judah and the inhabitants of Jerusalem and King Jehoshaphat: thus says the LORD to you, ‘Do not fear or be dismayed because of this great multitude, for the battle is not yours but God’s. Tomorrow go down against them. Behold, they will come up by the ascent of Ziz, and you will find them at the end of the valley in front of the wilderness of Jeruel. You need not fight in this battle; station yourselves, stand and see the salvation of the LORD on your behalf, O Judah and Jerusalem.’ Do not fear or be dismayed; tomorrow go out to face them, for the LORD is with you.”
Jehoshaphat bowed his head with his face to the ground, and all Judah and the inhabitants of Jerusalem fell down before the LORD, worshiping the LORD. The Levites, from the sons of the Kohathites and of the sons of the Korahites, stood up to praise the LORD God of Israel, with a very loud voice.
They rose early in the morning and went out to the wilderness of Tekoa; and when they went out, Jehoshaphat stood and said, “Listen to me, O Judah and inhabitants of Jerusalem, put your trust in the LORD your God and you will be established. Put your trust in His prophets and succeed.” When he had consulted with the people, he appointed those who sang to the LORD and those who praised Him in holy attire, as they went out before the army and said, “Give thanks to the LORD, for His lovingkindness is everlasting.” When they began singing and praising, the LORD set ambushes against the sons of Ammon, Moab and Mount Seir, who had come against Judah; so they were routed. For the sons of Ammon and Moab rose up against the inhabitants of Mount Seir destroying them completely; and when they had finished with the inhabitants of Seir, they helped to destroy one another.
When Judah came to the lookout of the wilderness, they looked toward the multitude, and behold, they were corpses lying on the ground, and no one had escaped. When Jehoshaphat and his people came to take their spoil, they found much among them, including goods, garments and valuable things which they took for themselves, more than they could carry. And they were three days taking the spoil because there was so much.
Then on the fourth day they assembled in the valley of Beracah, for there they blessed the LORD. Therefore they have named that place “The Valley of Beracah” until today. Every man of Judah and Jerusalem returned with Jehoshaphat at their head, returning to Jerusalem with joy, for the LORD had made them to rejoice over their enemies. They came to Jerusalem with harps, lyres and trumpets to the house of the LORD. And the dread of God was on all the kingdoms of the lands when they heard that the LORD had fought against the enemies of Israel. So the kingdom of Jehoshaphat was at peace, for his God gave him rest on all sides.