In Amos 9 God declares punishment on those who sin against Him. God will call out the faithful remnant and will reestablish them on their land never to be taken from it again.
God does not completely destroy His people. This is the covenant he gave to Moses and God keeps His promises. There is always a remnant of the people who remain faithful and ultimately receive God’s blessing.
In Revelation 9 the plagues from the trumpets continue to wreak havoc upon the earth. Those who do not have the seal of God on their foreheads suffer under the attacks. This is as much a spiritual battle as a physical one.
The remnant in Revelation is those who have received the seal of God. They are protected even in the midst of God punishment of the earth.