KJV: And was there until the death of Herod: that it might be fulfilled which was spoken of the Lord by the prophet, saying, Out of Egypt have I called my son.
NASB: He remained there until the death of Herod. This was to fulfill what had been spoken by the Lord through the prophet: "OUT OF EGYPT I CALLED MY SON."