Judges 9:23
22 Abimelech commanded Israel for three years. 23 God sent a spirit to stir up hostility between Abimelech and the leaders of Shechem. He made the leaders of Shechem disloyal to Abimelech. 24 He did this so the violent deaths of Jerub Baal’s 70 sons might be avenged and Abimelech, their half-brother who murdered them, might have to pay for their spilled blood, along with the leaders of Shechem who helped him murder them.
1 Samuel 16:14
13 So Samuel took the horn full of olive oil and anointed him in the presence of his brothers. The Spirit of the Lord rushed upon David from that day onward. Then Samuel got up and went to Ramah. 14 Now the Spirit of the Lord had turned away from Saul, and an evil spirit from the Lord tormented him. 15 Then Saul’s servants said to him, “Look, an evil spirit from God is tormenting you.
Notes and References
"... the story of Abimelech's decline is framed in terms of God's control. It is YHWH who 'sent an evil spirit' between Abimelech and the Shechemites. (For YHWH's control of persons through such means see 1 Samuel 16:14) The wresting of political power through violence that is not divinely sanctioned is condemned, verse 25-7, the Shechemite chieftains attempt to undermine the stability of Abimelech's fledgling state through acts of banditry, and soon transfer their affections to a new strongman. They are pictured as drunken louts taunting the status and credentials of Abimelech and loyalists such as Zebul ... Such acts of killing, burning, and strafing without attention to the military status, age, or gender of those destroyed are sometimes portrayed to be business as usual among the monarchs of the ancient Near East. Even David, the ideal king in some threads in the tradition, engages in brutal, terror-inspiring acts of warfare (see 2 Samuel 5:7-8) ... Abimelech continues his tour of vengeance at Thebez, another fortress city. Here as in Shechem the people flock to the tower for protection, and, as at Shechem, Abimelech plans to burn it down (verses 48—9). This time, however, a woman of unknown name or origins throws down an upper millstone, a symbol of the woman's domestic realm, and crushes the skull of this would-be hero. He in fact begs his armour-bearer to kill him quickly lest it be said that a woman slew the hero Abimelech (compare 2 Samuel 11:21). She, like Jael, does render the hero impotent, while the millstone itself is an evocative symbol not only of domesticity but of woman's sexuality as well (compare Isaiah 47:2; Job 31:10). verses 56—7, the writer sets the story in context as an example of just deserts, condemning Abimelech's style of assuming political authority and emphasizing both the power of curses and YHWH's control over the affairs of humans ..."
Barton, John, and John Muddiman The Oxford Bible Commentary (p. 184) Oxford University Press, 2001