Joseph stayed in Egypt until Herod died. This gave full meaning to what the Lord said through the prophet: “I called my son to come out of Egypt.”