So he left them in the care of the king of Moab, and they stayed with him the whole time David was in the stronghold.