1 Samuel 21:11-15
English Standard Version
12And David took these words to heart and was much afraid of Achish the king of Gath.
13So he changed his behavior before them and pretended to be insane in their hands and made marks on the doors of the gate and let his spittle run down his beard.
14Then Achish said to his servants, "Behold, you see the man is mad. Why then have you brought him to me?
15Do I lack madmen, that you have brought this fellow to behave as a madman in my presence? Shall this fellow come into my house?"