Matthew 2:15

where he stayed until the death of Herod. This fulfilled what the Lord had spoken through the prophet: “Out of Egypt I called My Son.”

Note Hosea 11:1

BSB · Berean Standard Bible
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.
KJV · King James Version
and was there until the death of Herod, that it might be fulfilled which was spoken by the Lord through the prophet, saying, “Out of Egypt I called my son.”
WEB · World English Bible
and was there until the death of Herod: that it might be fulfilled which was spoken by the Lord through the prophet, saying, Out of Egypt did I call my son.
ASV · American Standard Version

Related passages

From the Treasury of Scripture Knowledge, grouped by the word they explain.

until
Matthew 2:19; Acts 12:1–4, 23, 24
that
Matthew 2:17, 23; Matthew 1:22; Matthew 4:14, 15; Matthew 8:17; Matthew 12:16–18; Matthew 21:4; Matthew 26:54, 56; Matthew 27:35; Luke 24:44; John 19:28, 36; Acts 1:16
Out
Exodus 4:22; Numbers 24:8; Hosea 11:1