And it came to pass, when the captains of the chariots saw Jehoshaphat, that they said, It [is] the king of Israel. Therefore they compassed about him to fight: but Jehoshaphat cried out, and the LORD helped him; and God moved them [to depart] from him.
Berean Study Bible (BSB) - 2 Chronicles 18:31 >When the chariot commanders saw Jehoshaphat, they said, “This is the king of Israel!” So they turned to fight against him, but Jehoshaphat cried out, and the LORD helped him. God drew them away from him.