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

Read Genesis 21:32 Using Other Translations

Thus they made a covenant at Beersheba: then Abimelech rose up, and Phichol the chief captain of his host, and they returned into the land of the Philistines.
So they made a covenant at Beersheba. Then Abimelech and Phicol the commander of his army rose up and returned to the land of the Philistines.
After making their covenant at Beersheba, Abimelech left with Phicol, the commander of his army, and they returned home to the land of the Philistines.