This covenant between Abimelech and Abraham is a helpful example of a covenant, helping us understand what a covenant is, and is itself a benefit of God's covenant with Abraham.
In Genesis 20, Sarah is taken by King Abimelech just after receiving the promise that she would soon conceive the promised offspring of Abraham. But as before, God comes to the rescue.