1 Samuel 22:3-5

3 And David went from there to Mizpeh of Moab, and he said to the king of Moab, Let my father and my mother, I pray thee, come forth, and be with you, till I know what God will do for me.

4 And he brought them before the king of Moab, and they dwelt with him all the while that David was in the stronghold.

5 And the prophet Gad said to David, Abide not in the stronghold. Depart, and get thee into the land of Judah. Then David departed, and came into the forest of Hereth.