2 Chronicles 20:20-26 HCSB

20 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 Yahweh your God, and you will be established; believe in His prophets, and you will succeed.”

21 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.

22 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.

23 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.

24 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.

25 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.

26 They assembled in the Valley of Beracah on the fourth day, for there they praised the Lord. Therefore, that place is still called the Valley of Beracah today.