Some people came and told Jehoshaphat, “A vast army is coming against you from Edom, from the other side of the Dead Sea … ”
Alarmed, Jehoshaphat resolved to inquire of the Lord, and he proclaimed a fast for all Judah.
The people of Judah came together to seek help from the Lord; indeed, they came from every town in Judah to seek him.
Then Jehoshaphat stood up in the assembly of Judah and Jerusalem at the temple of the Lord in the front of the new courtyard and said:
“Lord, the God of our ancestors, are you not the God who is in heaven? You rule over all the kingdoms of the nations. Power and might are in your hand, and no one can withstand you … Our God, will you not judge [our adversaries]? For we have no power to face this vast army that is attacking us. We do not know what to do, but our eyes are on you.”
Then the Spirit of the Lord came on Jahaziel son of Zechariah, as he stood in the assembly.
He said:
“Listen, King Jehoshaphat and all who live in Judah and Jerusalem! This is what the Lord says to you: ‘Do not be afraid or discouraged because of this vast army. For the battle is not yours, but God’s … You will not have to fight this battle. Take up your positions; stand firm and see the deliverance the Lord will give you, Judah and Jerusalem. Do not be afraid; do not be discouraged. Go out to face them tomorrow, and the Lord will be with you.’”
Jehoshaphat bowed down with his face to the ground, and all the people of Judah and Jerusalem fell down in worship before the Lord. Then some Levites from the Kohathites and Korahites stood up and praised the Lord, the God of Israel, with a very loud voice.
Early in the morning they left for the Desert of Tekoa. As they set out, Jehoshaphat stood and said,
“Listen to me, Judah and people of Jerusalem! Have faith in the Lord your God and you will be upheld; have faith in his prophets and you will be successful.”
After consulting the people, Jehoshaphat appointed men to sing to the Lord and to praise him for the splendor of his holiness as they went out at the head of the army, saying:
“Give thanks to the Lord,
for his love endures forever.”
As they began to sing and praise, the Lord set ambushes against the men of Ammon and Moab and Mount Seir who were invading Judah, and they were defeated.
When the men of Judah came to the place that overlooks the desert and looked toward the vast army, they saw only dead bodies lying on the ground; no one had escaped.
The fear of God came on all the surrounding kingdoms when they heard how the Lord had fought against the enemies of Israel.
And the kingdom of Jehoshaphat was at peace, for his God had given him rest on every side.
From 2 Chronicles 20