Once when the king of Aram was at war with Israel, he took counsel with his officers. He said, "At such and such a place shall be my camp."
But the man of God sent word to the king of Israel, "Take care not to pass this place, because the Arameans are going down there."
The king of Israel sent word to the place of which the man of God spoke. More than once or twice he warned such a place so that it was on the alert.
References for 2 Kings 6:10
The mind of the king of Aram was greatly perturbed because of this; he called his officers and said to them, "Now tell me who among us sides with the king of Israel?"
Then one of his officers said, "No one, my lord king. It is Elisha, the prophet in Israel, who tells the king of Israel the words that you speak in your bedchamber."
He said, "Go and find where he is; I will send and seize him." He was told, "He is in Dothan."
So he sent horses and chariots there and a great army; they came by night, and surrounded the city.
When an attendant of the man of God rose early in the morning and went out, an army with horses and chariots was all around the city. His servant said, "Alas, master! What shall we do?"
He replied, "Do not be afraid, for there are more with us than there are with them."
Then Elisha prayed: "O Lord, please open his eyes that he may see." So the Lord opened the eyes of the servant, and he saw; the mountain was full of horses and chariots of fire all around Elisha.
When the Arameans came down against him, Elisha prayed to the Lord, and said, "Strike this people, please, with blindness." So he struck them with blindness as Elisha had asked.
References for 2 Kings 6:18
Elisha said to them, "This is not the way, and this is not the city; follow me, and I will bring you to the man whom you seek." And he led them to Samaria.
As soon as they entered Samaria, Elisha said, "O Lord, open the eyes of these men so that they may see." The Lord opened their eyes, and they saw that they were inside Samaria.
When the king of Israel saw them he said to Elisha, "Father, shall I kill them? Shall I kill them?"
He answered, "No! Did you capture with your sword and your bow those whom you want to kill? Set food and water before them so that they may eat and drink; and let them go to their master."
So he prepared for them a great feast; after they ate and drank, he sent them on their way, and they went to their master. And the Arameans no longer came raiding into the land of Israel.