1 Samuel 29:7-9 New International Version (NIV)

7. Now turn back and go in peace; do nothing to displease the Philistine rulers.”

8. “But what have I done?” asked David. “What have you found against your servant from the day I came to you until now? Why can’t I go and fight against the enemies of my lord the king?”

9. Achish answered, “I know that you have been as pleasing in my eyes as an angel of God; nevertheless, the Philistine commanders have said, ‘He must not go up with us into battle.’

1 Samuel 29