Isaiah 27:13
10 For the fortified city is left alone; it is a deserted settlement and abandoned like the wilderness. Calves graze there; they lie down there and eat its branches bare. 11 When its branches get brittle, they break; women come and use them for kindling. For these people lack understanding, therefore the one who made them has no compassion on them; the one who formed them has no mercy on them. 12 At that time the Lord will shake the tree, from the Euphrates River to the Stream of Egypt. Then you will be gathered up one by one, O Israelites. 13 At that time a large trumpet will be blown, and the ones lost in the land of Assyria will come, as well as the refugees in the land of Egypt. They will worship the Lord on the holy mountain in Jerusalem.
Matthew 24:31
27 For just like the lightning comes from the east and flashes to the west, so the coming of the Son of Man will be. 28 Wherever the corpse is, there the vultures will gather. 29 “Immediately after the suffering of those days, the sun will be darkened, and the moon will not give its light; the stars will fall from heaven, and the powers of heaven will be shaken. 30 Then the sign of the Son of Man will appear in heaven, and all the tribes of the earth will mourn. They will see the Son of Man arriving on the clouds of heaven with power and great glory. 31 And he will send his angels with a loud trumpet blast, and they will gather his elect from the four winds, from one end of heaven to the other.
Notes and References
"... What we can say with some confidence is that Matthew certainly does not regard the crucifixion of Jesus as signifying the final rejection of Israel or the end of God’s concern for his people. One indicator of this is that Matthew leads his readers to understand the risen Jesus as “the Son of Man,” the glorious figure from Daniel 7 who represents Israel’s eschatological vindication and triumph over oppressive foreign powers (Matt 26:64; see also the use of imagery from Dan 7:13-14 in the Gospel’s final resurrection appearance, 28:16-20). And in the great apocalyptic discourse of Matthew 24, Jesus tells the disciples that when the glorious Son of Man appears, coming on the clouds of heaven, “he will send out his angels with a great trumpet, and they will gather his elect from the four winds, from one end of heaven to the other” ... Matthew’s direct allusion to the trumpet of Isaiah 27 emphatically drives home the point that Jesus is prophesying a final regathering of the people of Israel who have previously been in exile, and the final restoration of right worship in Jerusalem ..."
Hays, Richard B. Echoes of Scripture in the Gospels (p. 137) Baylor University Press, 2017