2 Nephi 5
When the Lord told Nephi to leave (and even before, when his brothers were murmuring against him) he must have thought to himself “It’s like Jerusalem all over again.”
Besides preserving Nephi’s life, it was important for the righteous to separate themselves so that they and their children would not continue to be influenced by perpetual association with Laman and Lemuel in their murmuring.