But the figurative interpretation holds good any way. Joseph represents the Apostles, to whom Christ is entrusted to be borne about. These, as though Herod were dead, that is, his people being destroyed in the Lord's passion, are commanded to preach the Gospel to the Jews; they are sent to the lost sheep of the house of Israel.
Source: Catena Aurea by Aquinas