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.
Jewish Publication Society of America Version (JPS1917) - 2 Chronicles 18:31 >And it came to pass, when the captains of the chariots saw Jehoshaphat, that they said: 'It is the king of Israel.' Therefore they turned about to fight against him; but Jehoshaphat cried out, and the LORD helped him; and God moved them to depart from him.