And Jehoshaphat was afraid, and he set his face to seek Yahweh. He proclaimed a fast throughout all Judah.
“set his face to seek Yahweh.” This is an idiom. Jehoshaphat was afraid, but he was not paralyzed by his fear. He resolved (set his face) to seek Yahweh, and Yahweh acted on his behalf and the enemy was defeated.