“Will you take me to those Amalekites?” David asked. “Yes, I will, if you promise with God as a witness that you won't kill me or hand me over to my master.”
He chose someone from the family of Judah's king and signed a treaty with him, then made him swear to be loyal. He also led away other important citizens,
As surely as I am the living LORD God, I swear that the king of Judah will die in Babylon, because he broke the treaty with the king of Babylonia, who appointed him king.
He made a promise in my name and swore to honour the treaty. And now that he has broken that promise, my name is disgraced. He must pay for what he's done.
So Joshua made a peace treaty with the messengers and promised that Israel would not kill their people. Israel's leaders swore that Israel would keep this promise.
While the spies were watching the town, a man came out, and they told him, “If you show us how our army can get into the town, we will make sure that you aren't harmed.”
Achish called David over and said: I swear by the living LORD that you've been honest with me, and I want you to fight by my side. I don't think you've done anything wrong from the day you joined me until this very moment. But the other Philistine rulers don't want you to come along.
We had attacked some towns in the desert where the Cherethites live, in the area that belongs to Judah, and in the desert where the Caleb clan lives. And we burnt down Ziklag.”