1 Samuel 30:1Lemma: “1 Samuel 30 Reference Overview”
“And it came to pass, when David and his men were come to Ziklag on the third day, that the Amalekites had invaded the south, and Ziklag, and smitten Ziklag, and burned it with fire;”
That is, destroyed the city. After that he departed from Achish.