 So Israel went astray. But nonetheless, Matthew uses this as a proof text that Jesus is the Messiah because Jesus had gone to Egypt when he was a baby. He had to escape St. Joseph and the Blessed Mother and our Lord Jesus had to escape to Egypt.