After Herod died, an angel of the Lord came to Joseph in a dream. This happened while Joseph was in Egypt.