2 Chronicles 18:28-34 (NIV)
28 So the king of Israel and Jehoshaphat king of Judah went up to Ramoth Gilead. 29 The king of Israel said to Jehoshaphat, “I will enter the battle in disguise, but you wear your royal robes.” So the king of Israel disguised himself and went into battle.
30 Now the king of Aram had ordered his chariot commanders, “Do not fight with anyone, small or great, except the king of Israel.” 31 When the chariot commanders saw Jehoshaphat, they thought, “This is the king of Israel.” So they turned to attack him, but Jehoshaphat cried out, and the Lord helped him. God drew them away from him, 32 for when the chariot commanders saw that he was not the king of Israel, they stopped pursuing him.
33 But someone drew his bow at random and hit the king of Israel between the breastplate and the scale armor. The king told the chariot driver, “Wheel around and get me out of the fighting. I’ve been wounded.” 34 All day long the battle raged, and the king of Israel propped himself up in his chariot facing the Arameans until evening. Then at sunset he died.
Although Ahab’s prophets declared about his upcoming victory over Ramoth Gilead, God spoke through Micaiah that he will be defeated. Ahab thought he would be clever and disguise himself while he let Jehoshaphat went with his royal robes. It is sneaky that he wanted Jehoshaphat to wear his robes and he would be in disguise. Obviously, if the enemy sees the king attacking, they will target the king over the rest of the army.
God had already made a judgement on King Ahab and his disguise was useless in escaping that judgement. The king of Aram was only targeting the king of Israel and when they saw Jehoshaphat in his royal robes, God helped draw them away from him. But someone drew their bow at random and hit the king between the breastplate and the scale armor. Sounds more spectacular than David slinging a stone at Goliath where it hits exactly where it needs to hit to drop the giant. God gets credit for the execution of King Aram. God’s providence is at work and when he makes a declaration through his prophets, they are fulfilled. God hit his bullseye.