1 Samuel 22:3-4
3-4Then David went to Mizpah in Moab. He petitioned the king of Moab, "Grant asylum to my father and mother until I find out what God has planned for me." David left his parents in the care of the king of Moab. They stayed there all through the time David was hiding out.
5The prophet Gad told David, "Don't go back to the cave. Go to Judah." David did what he told him. He went to the forest of Hereth.