And Jehoshaphat was afraid, and he set his face to seek Yahweh. He proclaimed a fast throughout all Judah. Bible other translations

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

Commentary for: 2 Chronicles 20:3