In Genesis 20:1-18 Abraham sins in the same way he did in chapter 12. Rather than protect his wife, he lies by calling her his sister, which leads to her being taken by Abimelech to become his wife. This sin is all the worse because Sarah is about to give birth to Isaac, the promised seed. Abraham's actions, therefore, appear to jeopardize the promises of God. God, however, is merciful to Abraham and, as He did in Egypt, defends Sarah even when Abraham fails. All of this shows that God will always keep His promises. Isaac will be born as promised.