Aram's king was fighting against Israel. He took counsel with his officers, saying, "I'll camp at such-and-such a place."
References for 2 Kings 6:8
The man of God sent word to Israel's king: "Beware of passing by this place because the Arameans are going down there."
Then Israel's king sent word to the place the man of God had mentioned to him. Time after time, Elisha warned the king, and the king stayed on the alert.
Aram's king was extremely upset about this. He called his officers and said to them, "Tell me! Who among us is siding with Israel's king?"
One of his officers said, "No one, Your Majesty! It's Elisha the Israelite prophet who tells Israel's king the words that you speak in the privacy of your bedroom."
He said, "Go and find out where he is. Then I will send men to capture him." They told him, "He is in Dothan."
So the king sent horses and chariots there with a strong army. They came at night and surrounded the city.
Elisha's servant got up early and went out. He saw an army with horses and chariots surrounding the city. His servant said to Elisha, "Oh, no! Master, what will we do?"
"Don't be afraid," Elisha said, "because there are more of us than there are of them."
Then Elisha prayed, "LORD, please open his eyes that he may see." Then the LORD opened the servant's eyes, and he saw that the mountain was full of horses and fiery chariots surrounding Elisha.
The Arameans came toward him, so Elisha prayed to the LORD, "Strike this nation with blindness." And the LORD struck them blind, just as Elisha asked.
Elisha said to them, "This isn't the right road or the right city. Follow me, and I'll lead you to the man you are looking for." But he took them to Samaria!
When they arrived in Samaria, Elisha said, "LORD, open the eyes of these men so they can see." The LORD opened their eyes, and they saw that they were right in the middle of Samaria!
When he saw them, Israel's king said to Elisha, "Should I kill them, my father? Should I?"
He said, "No, don't kill them. Did you capture them with your own sword or bow? Do you have the right to kill them? Put food and water in front of them so they can eat and drink and return to their master."
References for 2 Kings 6:22
So the king gave them a great feast, and they ate and drank. Then the king let them go, and they returned to their master. After that, Aramean raiding parties didn't come into Israel anymore.