2 Chronicles 18:31

29 And the king of Israel said to Jehoshaphat, “I will disguise myself and go into battle, 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.”

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.

32 And when the chariot commanders saw that he was not the king of Israel, they turned back from pursuing him.

33 However, a certain man drew his bow without taking special aim, and he struck the king of Israel between the joints of his armor. So the king said to his charioteer, “Turn around and take me out of the battle, for I am badly wounded!”

Do read the surrounding verses too, because the context often says more than a single verse.

Compare

BSB
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.
KJV
And it came to pass, when the captains of the chariots saw Jehoshaphat, that they said, It is the king of Israel. Therefore they compassed about him to fight: but Jehoshaphat cried out, and the LORD helped him; and God moved them to depart from him.
WEB
When the captains of the chariots saw Jehoshaphat, they said, “It is the king of Israel!” Therefore they turned around to fight against him. But Jehoshaphat cried out, and the LORD helped him; and God moved them to depart from him.
ASV
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 Jehovah helped him; and God moved them [to depart] from him.
DARBY
And it came to pass when the captains of the chariots saw Jehoshaphat, that they said, That is the king of Israel; and they surrounded him to fight; and Jehoshaphat cried out, and Jehovah helped him; and God diverted them from him.
BLB
And it came to pass, when the captains of the chariots saw Jehoshaphat, that they said, “It [is] the king of Israel.” And they turned against him to fight, and Jehoshaphat cried out, and YHWH helped him. And God diverted them from him.
ÅB
Da nå vogn-høvedsmennene så Josjafat, sa de: Dette er Israels konge. Og de omringet ham for å stride. Da satte Josjafat i et høyt rop, og Herren hjalp ham; Gud vendte dem bort fra ham.
OTB
Så da lederne av vognene så Jehosjafat, sa de: «Det er Israels konge!» Og de vendte seg for å kjempe mot ham, men Jehosjafat ropte ut, og Herren hjalp ham, og Gud vendte dem bort fra ham.
B1930
Da nu vogn-høvedsmennene så Josafat, sa de: Dette er Israels konge. Og de omringet ham for å stride. Da satte Josafat i et høit rop, og Herren hjalp ham; Gud vendte dem bort fra ham.

Study notes (Tyndale)

Original text and word study

Cross references