War against Edom
1Some time later the armies of Moab and Ammon, together with their allies, the Meunites, invaded Judah. 2Some messengers came and announced to King Jehoshaphat: “A large army from Edom has come from the other side of the Dead Sea to attack you. They have already captured Hazazon Tamar.” (This is another name for Engedi.) 3Jehoshaphat was frightened and prayed to the LORD for guidance. Then he gave orders for a fast to be observed throughout the country. 4From every city of Judah people hurried to Jerusalem to ask the LORD for guidance, 5and they and the people of Jerusalem gathered in the new courtyard of the Temple. King Jehoshaphat went and stood before them 6and prayed aloud, “O LORD God of our ancestors, you rule in heaven over all the nations of the world. You are powerful and mighty, and no one can oppose you. 7You are our God. When your people Israel moved into this land, you drove out the people who were living here and gave the land to the descendants of Abraham, your friend, to be theirs for ever. 8They have lived here and have built a temple to honour you, knowing 9that if any disaster struck them to punish them — a war, an epidemic, or a famine — then they could come and stand in front of this Temple where you are worshipped. They could pray to you in their trouble, and you would hear them and rescue them.
10“Now the people of Ammon, Moab, and Edom have attacked us. When our ancestors came out of Egypt, you did not allow them to enter those lands, so our ancestors went round them and did not destroy them. 11This is how they repay us — they come to drive us out of the land that you gave us. 12You are our God! Punish them, for we are helpless in the face of this large army that is attacking us. We do not know what to do, but we look to you for help.”
13All the men of Judah, with their wives and children, were standing there at the Temple. 14The Spirit of the LORD came upon a Levite who was present in the crowd. His name was Jahaziel son of Zechariah; he was a member of the clan of Asaph and was descended from Asaph through Mattaniah, Jeiel, and Benaiah. 15Jahaziel said, “Your Majesty and all you people of Judah and Jerusalem, the LORD says that you must not be discouraged or be afraid to face this large army. The battle depends on God, not on you. 16Attack them tomorrow as they come up the pass at Ziz. You will meet them at the end of the valley that leads to the wild country near Jeruel. 17You will not have to fight this battle. Just take up your positions and wait; you will see the LORD give you victory. People of Judah and Jerusalem, do not hesitate or be afraid. Go out to battle, and the LORD will be with you!”
18Then King Jehoshaphat bowed low, with his face touching the ground, and all the people bowed with him and worshipped the LORD. 19The members of the Levite clans of Kohath and Korah stood up and with a loud shout praised the LORD, the God of Israel.
20Early the next morning the people went out to the wild country near Tekoa. As they were starting out, Jehoshaphat addressed them with these words: “People of Judah and Jerusalem! Put your trust in the LORD your God, and you will stand firm. Believe what his prophets tell you, and you will succeed.” 21After consulting with the people, the king ordered some musicians to put on the robes they wore on sacred occasions and to march ahead of the army, singing: “Praise the LORD! His love is eternal!”
22When they began to sing, the LORD threw the invading armies into a panic. 23The Ammonites and the Moabites attacked the Edomite army and completely destroyed it, and then they turned on each other in savage fighting. 24When the Judean army reached a tower that was in the desert, they looked towards the enemy and saw that they were all lying on the ground, dead. Not one had escaped.
25Jehoshaphat and his troops moved in to take the loot, and they found many cattle, supplies, clothing, and other valuable objects. They spent three days gathering the loot, but there was so much that they could not take everything. 26On the fourth day they assembled in the Valley of Beracah and praised the LORD for all he had done. That is why the valley is called “Beracah”. 27Jehoshaphat led his troops back to Jerusalem in triumph, because the LORD had defeated their enemies. 28When they reached the city, they marched to the Temple, to the music of harps and trumpets. 29Every nation that heard how the LORD had defeated Israel's enemies was terrified, 30so Jehoshaphat ruled in peace, and God gave him security on every side.
The End of Jehoshaphat's Reign
31Jehoshaphat had become king of Judah at the age of 35 and had ruled in Jerusalem for 25 years. His mother was Azubah, the daughter of Shilhi. 32Like his father Asa before him, he did what was right in the sight of the LORD; 33but the pagan places of worship were not destroyed. The people still did not turn wholeheartedly to the worship of the God of their ancestors.
34Everything else that Jehoshaphat did, from the beginning of his reign to its end, is recorded in The History of Jehu Son of Hanani, which is a part of The History of the Kings of Israel.
35At one time King Jehoshaphat of Judah made an alliance with King Ahaziah of Israel, who did many wicked things. 36At the port of Eziongeber they built ocean-going ships. 37But Eliezer son of Dodavahu, from the town of Mareshah, warned Jehoshaphat, “Because you have made an alliance with Ahaziah, the LORD will destroy what you have built.” And the ships were wrecked and never sailed.