4 Then he left them with the king of Moab; and they stayed with him all the time that David was in the stronghold.