Jehoshaphat was frightened and prayed to the Lord for guidance. Then he gave orders for a fast to be observed throughout the country.