1 Samuel 27:5

Then David said to Achish, "If I have now found favor in your eyes, let them give me a place in some town in the country, that I may dwell there. For why should your servant dwell in the royal city with you?"