The triumph of Jesus Christ over the dragon (cause for joy) is the catalyst for his pursuit of the woman/church on earth (cause for woe). That same catalyst also gives the church great confidence, for the defeat of the dragon means that what we experience in this life are his last desperate gasps.
7 Now war arose in heaven, Michael and his angels fighting against the dragon. And the dragon and his angels fought back,