Passage
And there was war in heaven: Michael and his angels [going forth] to war with the dragon; and the dragon warred and his angels;
And there was war in heaven: Michael and his angels [going forth] to war with the dragon; and the dragon warred and his angels;
Revelation 12:5 And she was delivered of a son, a man child, who is to rule all the nations with a rod of iron: and her child was caught up unto God, and unto his throne.
Revelation 12:6 And the woman fled into the wilderness, where she hath a place prepared of God, that there they may nourish her a thousand two hundred and threescore days.
Revelation 12:7 And there was war in heaven: Michael and his angels [going forth] to war with the dragon; and the dragon warred and his angels;
Revelation 12:8 And they prevailed not, neither was their place found any more in heaven.
Revelation 12:9 And the great dragon was cast down, the old serpent, he that is called the Devil and Satan, the deceiver of the whole world; he was cast down to the earth, and his angels were cast down with him.
The verse centers on "heaven", "michael", "angels", "going", "forth", "dragon", and "warred". It is saying that the verse draws attention to "heaven" and "michael", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 6's "And the woman fled into the wilderness..." into verse 8's "And they prevailed not neither was their...", so "heaven" and "michael" belong inside that flow. In Revelation context, the local focus is Christ, faith, and discipleship.
A plain takeaway is to answer the verse's own emphasis on "heaven" and "michael" with trust shaped by these words, not by a vague optimism outside the passage.