1 Samuel 29:5-9
English Standard Version
6Then Achish called David and said to him, "As the Lord lives, you have been honest, and to me it seems right that you should march out and in with me in the campaign. For I have found nothing wrong in you from the day of your coming to me to this day. Nevertheless, the lords do not approve of you.
7So go back now; and go peaceably, that you may not displease the lords of the Philistines."
8And David said to Achish, "But what have I done? What have you found in your servant from the day I entered your service until now, that I may not go and fight against the enemies of my lord the king?"
9And Achish answered David and said, "I know that you are as blameless in my sight as an angel of God. Nevertheless, the commanders of the Philistines have said, ‘He shall not go up with us to the battle.’