After they had made a covenant at Beer-sheba, Abimelech and Phicol, the commander of his army, left and returned to the land of the Philistines.