There are four episodes in Matthew 2 (vv. 1-12, 13-15, 16-18, 19-23), each of which have a different geographical focus when the respective prophecy is cited.
- In 2:1-12, attention is given to the Messiah’s birth in “Bethlehem.”
- In 2:13-15, attention is given to Jesus coming “out of Egypt.”
- In 2:16-18, attention is given to a voice “heard in Ramah.”
- In 2:19-23, attention is given to Jesus being “called a Nazarene.”
Though each pericope brings up a different location, they are all in the land of Israel (see this post where I argue that Jesus coming “out of Egypt” was about his exodus from land of Israel, which had become the new Egypt).