He brought them before the king of Moab: and they lived with him all the while that David was in the stronghold.
So he actually crossed over in the area of the Dead Sea, went over to the other side to Moab and there he established his family. Now he knew that Saul's anger against him would ultimately turn against his family.