After the treaty had been made at Beersheba, Abimelech and Phicol the commander of his forces returned to the land of the Philistines.