Abimelech had killed Gideon’s 70 sons. They were Abimelech’s own brothers. And the leaders of Shechem had helped him kill them. So God sent the evil spirit to punish them.