The words here are found in a narrative and it does speak of the end coming:
"But he that shall endure unto the end, the same shall be saved. And this gospel of the kingdom shall be preached in all the world for a witness unto all nations; and then shall the end come" (Mt.24:13-14).
By the context we can understand that the word "end" is referring to the end of the great tribulation:
"But pray ye that your flight be not in the winter, neither on the sabbath day: For then shall be great tribulation, such as was not since the beginning of the world to this time, no, nor ever shall be" (Mt.24:20-21).
It will be those who endure to the end of the tribulation period "physically" who will be saved "physically" by the Lord Jesus when he returns to the earth:
"In that day shall the Lord defend the inhabitants of Jerusalem...And it shall come to pass in that day, that I will seek to destroy all the nations that come against Jerusalem...Then shall the Lord go forth, and fight against those nations, as when he fought in the day of battle. And his feet shall stand in that day upon the mount of Olives, which is before Jerusalem on the east" (Zech.12:8-9;14:3-4).