When Abimelech had ruled over Israel three years,