It happened in those days, that the Philistines gathered their hosts together for warfare, to fight with Israel. Achish said to David, Know you assuredly, that you shall go out with me in the host, you and your men.
We cannot presume to justify David's actions during those years he was with Achish; but, "He was living in highly perilous circumstances; the Bible gives the record but pronounces no judgment."[2]