After Abraham and Abimelech made the agreement at Beersheba, Abimelech and Phicol, the commander of his army, went back to the land of the Philistines.
One of the men who was not captured went to Abram, the Hebrew, and told him what had happened. At that time Abram was camped near the great trees of Mamre the Amorite. Mamre was a brother of Eshcol and Aner, and they had all made an agreement to help Abram.
Let the God of Abraham, who is the God of Nahor and the God of their ancestors, punish either of us if we break this agreement.” So Jacob made a promise in the name of the God whom his father Isaac worshiped.
When the king sent the people out of Egypt, God did not lead them on the road through the Philistine country, though that was the shortest way. God said, “If they have to fight, they might change their minds and go back to Egypt.”