Achish
Achish is the Philistine king of Gath under whose jurisdiction David twice takes refuge from Saul, and to whose Gath-throne Shimei's slaves run away in the days of Solomon. The narrative gives Achish two patronymics — "son of Maoch" in 1 Sam 27:2 and "son of Maacah" in 1 Ki 2:39 — and three moments of personal contact with David: a panicked first flight, an organized second flight with a six-hundred-man company, and a Yahweh-sworn audience in which the Gath-king's verdict on David's uprightness is overruled by his fellow lords.
The First Flight to Gath
David's first arrival at Achish's court is a Saul-fugitive's improvised escape. "And David arose, and fled that day for fear of Saul, and went to Achish the king of Gath" (1 Sam 21:10). The slaves of Achish recognize him at once as the warrior of the dance-songs: "Isn't this David the king of the land? Didn't they sing one to another of him in dances, saying, Saul has slain his thousands, And David his ten thousands?" (1 Sam 21:11). Their recognition turns David's refuge into a trap. He "laid up these words in his heart, and was very afraid of Achish the king of Gath" (1 Sam 21:12), and escapes by feigning madness — changing his behavior, scrabbling on the doors of the gate, and letting his spittle fall down on his beard (1 Sam 21:13). Achish's reaction is contempt rather than suspicion: "Look, you⁺ see the man is insane; why then have you⁺ brought him to me? Do I lack lunatics, that you⁺ have brought this fellow to play the lunatic in my presence? Will this fellow come into my house?" (1 Sam 21:14-15). The Gath-king dismisses David as a madman, and David walks out alive.
The Second Flight and the Gift of Ziklag
The second approach to Achish is calculated, not desperate. David concludes in his heart that "there is nothing better for me than that I should escape into the land of the Philistines" (1 Sam 27:1), and "David arose, and passed over, he and the six hundred men who were with him, to Achish the son of Maoch, king of Gath" (1 Sam 27:2). Achish receives the whole company: "And David dwelt with Achish at Gath, he and his men, every man with his household, even David with his two wives, Ahinoam the Jezreelitess, and Abigail the Carmelitess, Nabal's wife" (1 Sam 27:3). When David asks for a place in the country rather than the royal city, "Then Achish gave him Ziklag that day: therefore Ziklag pertains to the kings of Judah to this day" (1 Sam 27:6). David remains in Philistine country a full year and four months (1 Sam 27:7).
The arrangement is held together by deception. David raids the Geshurites, the Girzites, and the Amalekites, leaving no survivors who could carry word back to Gath (1 Sam 27:8-9, 11), and reports the spoil to Achish under the cover of false targets — "Against the South of Judah, and against the South of the Jerahmeelites, and against the South of the Kenites" (1 Sam 27:10). The narrator's verdict on the king's credulity is blunt: "And Achish believed David, saying, He has become a complete stench among his people Israel; therefore he will be my slave forever" (1 Sam 27:12). Achish's confidence in the new servant is built on a lie.
The Conscription and the Lords' Veto
When the Philistines muster for war against Israel, Achish presses his trust to the limit. "And Achish said to David, Know assuredly, that you will go out with me in the host, you and your men" (1 Sam 28:1). David answers in the language of the slave-bond Achish has imposed: "And David said to Achish, Therefore you will know what your slave will do. And Achish said to David, Therefore I will make you keeper of my head forever" (1 Sam 28:2). The Gath-king binds David to his own bodyguard.
At Aphek the lords of the Philistines pass in review and David and his men march in the rearward with Achish (1 Sam 29:1-2). The princes object on sight: "What [are] these Hebrews [doing here]?" (1 Sam 29:3). Achish defends him by record — "Isn't this David, the slave of Saul the king of Israel, who has been with me these days, or [rather] these years, and I have found no fault in him since he fell away [to me] to this day?" (1 Sam 29:3) — but the princes refuse, citing the very dance-song that had trapped David in Gath the first time: "Isn't this David, of whom they sang one to another in dances, saying, Saul has slain his thousands, And David his ten thousands?" (1 Sam 29:5).
Achish's dismissal of David is the most theologically loaded speech in the Achish material. He swears by Israel's God: "As Yahweh lives, you have been upright, and your going out and your coming in with me in the host is good in my sight; for I haven't found evil in you since the day of your coming to me to this day: nevertheless the lords don't favor you" (1 Sam 29:6). He extends the verdict — "I know that you are good in my sight, as an angel of God" (1 Sam 29:9) — and orders an early-morning departure (1 Sam 29:7, 10-11). The Gath-king's Yahweh-sworn vouching for David is what releases David from the impossible position of marching against Saul, but the release comes through the political reality that overrides the king's own assessment.
Achish in the Days of Solomon
The name surfaces a final time, a generation later, in the Shimei episode under Solomon. "And it came to pass at the end of three years, that two of the slaves of Shimei ran away to Achish, son of Maacah, king of Gath. And they told Shimei, saying, Look, your slaves are in Gath" (1 Ki 2:39). The patronymic shifts from Maoch to Maacah, but the throne and the city are the same: Gath remains the slave-refuge across the border from Judah. "And Shimei arose, and saddled his donkey, and went to Gath to Achish, to seek his slaves; and Shimei went, and brought his slaves from Gath" (1 Ki 2:40). Shimei retrieves the runaways, but in doing so he breaks Solomon's Kidron-oath, and the Gath-trip costs him his life. Achish himself does nothing in the episode beyond receiving the fugitives; the narrative's interest is in Shimei. Yet the recurrence of the same name on the same throne marks Gath as the standing Philistine counterpart to Judah's kingship — the city to which David fled twice and to which Shimei's slaves still know to run.