David twice appears before a king of Gath named Achish. On an earlier occasion David feared for his life and feigned insanity. Later, during prolonged flight from
Saul, David entered Achish's service with six hundred men and was given Ziklag. David conducted raids while leading Achish to believe he was attacking Judahite interests, and Achish came to trust him. When the Philistines assembled to fight Israel, Achish intended David to accompany him, but the other Philistine rulers objected. David was therefore dismissed before the battle in which Saul died.