2 Chronicles 20:1-25 CSB
After this, the Moabites and Ammonites, together with some of the Meunites, came to fight against Jehoshaphat. People came and told Jehoshaphat, “A vast number from beyond the Dead Sea and from Edom has come to fight against you; they are already in Hazazon-tamar” (that is, En-gedi). Jehoshaphat was afraid, and he resolved to seek the LORD. Then he proclaimed a fast for all Judah, who gathered to seek the LORD. They even came from all the cities of Judah to seek him.
Then Jehoshaphat stood in the assembly of Judah and Jerusalem in the LORD’s temple before the new courtyard. He said:
LORD, God of our ancestors, are you not the God who is in heaven, and do you not rule over all the kingdoms of the nations? Power and might are in your hand, and no one can stand against you. Are you not our God who drove out the inhabitants of this land before your people Israel and who gave it forever to the descendants of Abraham your friend? They have lived in the land and have built you a sanctuary in it for your name and have said, “If disaster comes on us — sword or judgment, pestilence or famine — we will stand before this temple and before you, for your name is in this temple. We will cry out to you because of our distress, and you will hear and deliver.”
Now here are the Ammonites, Moabites, and the inhabitants of Mount Seir. You did not let Israel invade them when Israel came out of the land of Egypt, but Israel turned away from them and did not destroy them. Look how they repay us by coming to drive us out of your possession that you gave us as an inheritance. Our God, will you not judge them? For we are powerless before this vast number that comes to fight against us. We do not know what to do, but we look to you.
All Judah was standing before the LORD with their dependents, their wives, and their children. In the middle of the congregation, the Spirit of the LORD came on Jahaziel (son of Zechariah, son of Benaiah, son of Jeiel, son of Mattaniah, a Levite from Asaph’s descendants), and he said, “Listen carefully, all Judah and you inhabitants of Jerusalem, and King Jehoshaphat. This is what the LORD says: ‘Do not be afraid or discouraged because of this vast number, for the battle is not yours, but God’s. Tomorrow, go down against them. You will see them coming up the Ascent of Ziz, and you will find them at the end of the valley facing the Wilderness of Jeruel. You do not have to fight this battle. Position yourselves, stand still, and see the salvation of the LORD. He is with you, Judah and Jerusalem. Do not be afraid or discouraged. Tomorrow, go out to face them, for the LORD is with you.’”
Then Jehoshaphat knelt low with his face to the ground, and all Judah and the inhabitants of Jerusalem fell down before the LORD to worship him. Then the Levites from the sons of the Kohathites and the Korahites stood up to praise the LORD God of Israel shouting loudly.
In the morning they got up early and went out to the wilderness of Tekoa. As they were about to go out, Jehoshaphat stood and said, “Hear me, Judah and you inhabitants of Jerusalem. Believe in the LORD your God, and you will be established; believe in his prophets, and you will succeed.” Then he consulted with the people and appointed some to sing for the LORD and some to praise the splendor of his holiness. When they went out in front of the armed forces, they kept singing:
Give thanks to the LORD,
for his faithful love endures forever.
The moment they began their shouts and praises, the LORD set an ambush against the Ammonites, Moabites, and the inhabitants of Mount Seir who came to fight against Judah, and they were defeated. The Ammonites and Moabites turned against the inhabitants of Mount Seir and completely annihilated them. When they had finished with the inhabitants of Seir, they helped destroy each other.
When Judah came to a place overlooking the wilderness, they looked for the large army, but there were only corpses lying on the ground; nobody had escaped. Then Jehoshaphat and his people went to gather the plunder. They found among them an abundance of goods on the bodies and valuable items. So they stripped them until nobody could carry any more. They were gathering the plunder for three days because there was so much.
CSB: Christian Standard Bible