Revelation 12:7 And there was war in heaven: Michael and his angels fought against the dragon; and the dragon fought and his angels, 8 And prevailed not; neither was their place found any more in heaven.
It is worthy of note that in satan’s case he was seeking revenge for imaginary injustices that had no foundation in fact. It was purely fabricated from a mind that was bent on self-exaltation, and retaliation for perceived hurt. When there is competition for praise and adoration taking place in one’s mind, there will also be feelings of imaginary hurt, as if others are trying to deprive him or her of their due.
In other words, one could feel threatened, if praise is heaped on another, and as a result, the revenger in question can lash out at anyone who is perceived to be a threat, even though this may not actually be the case. This is what took place with king Saul, as revenge drove him mad, just because some women sang a song in praise of David. In that instance, Saul felt as if he wasn’t being given his due.
And therefore, the very thought of another person being exalted was enough to put his mind in a place where he would thirst for revenge. It's not to say that David had done him any wrong, it was just the fact that someone other than himself was receiving accolades, and this was interpreted as an injustice done to himself. He went on to drag the army behind him, in his quest for imaginary justice, for as was stated before, the thirst for revenge could become contagious, when not subdued.
1st Samuel 18: 6 And it came to pass as they came, when David was returned from the slaughter of the Philistine, that the women came out of all cities of Israel, singing and dancing, to meet king Saul, with tabrets, with joy, and with instruments of music.
May The Lord add His blessing to the study of His word. God bless!