2 Chronicles 18:31

ISV(i) 31 So when the chariot commanders observed Jehoshaphat, they said by mistake, “It’s the king of Israel!” and they turned aside to attack him. But Jehoshaphat cried out to the LORD, who helped him, and God diverted them from him.