Jehoshaphat was wrongly identified as the king of Israel because Ahab had insisted that he wear kingly robes.
AT: "God caused them to stop pursuing him."