2 Chronicles 18:2-3
18:2 and after several years went down to visit Ahab in Samaria. Ahab slaughtered many sheep and cattle to honor Jehoshaphat and those who came with him. He persuaded him to join in an attack against Ramoth Gilead.
18:3 King Ahab of Israel said to Jehoshaphat, “Will you go with me to attack Ramoth Gilead?” Jehoshaphat replied to the king of Israel, “I will support you; my army is at your disposal and will support you in battle.”
2 Chronicles 18:31
18:31 When the chariot commanders saw Jehoshaphat, they said, “He must be the king of Israel!” So they turned and attacked him, but Jehoshaphat cried out. The Lord helped him; God lured them away from him.