2 Abraham said of his wife Sarah, "She is my sister." And King Abimelech of Gerar sent and took Sarah.

3 But God came to Abimelech in a dream by night, and said to him, "You are about to die because of the woman whom you have taken; for she is a married woman." 4 Now Abimelech had not approached her; so he said, "Lord, will you destroy an innocent people? 5 Did he not himself say to me, "She is my sister'? And she herself said, "He is my brother.' I did this in the integrity of my heart and the innocence of my hands." 6 Then God said to him in the dream, "Yes, I know that you did this in the integrity of your heart; furthermore it was I who kept you from sinning against me. Therefore I did not let you touch her. 7 Now then, return the man's wife; for he is a prophet, and he will pray for you and you shall live. But if you do not restore her, know that you shall surely die, you and all that are yours."

8 So Abimelech rose early in the morning, and called all his servants and told them all these things; and the men were very much afraid. 9 Then Abimelech called Abraham, and said to him, "What have you done to us? How have I sinned against you, that you have brought such great guilt on me and my kingdom? You have done things to me that ought not to be done." 10 And Abimelech said to Abraham, "What were you thinking of, that you did this thing?" 11 Abraham said, "I did it because I thought, There is no fear of God at all in this place, and they will kill me because of my wife. 12 Besides, she is indeed my sister, the daughter of my father but not the daughter of my mother; and she became my wife. 13 And when God caused me to wander from my father's house, I said to her, "This is the kindness you must do me: at every place to which we come, say of me, He is my brother.' "

14 Then Abimelech took sheep and oxen, and male and female slaves, and gave them to Abraham, and restored his wife Sarah to him. 15 Abimelech said, "My land is before you; settle where it pleases you." 16 To Sarah he said, "Look, I have given your brother a thousand pieces of silver; it is your exoneration before all who are with you; you are completely vindicated." 17 Then Abraham prayed to God; and God healed Abimelech, and also healed his wife and female slaves so that they bore children. 18 For the Lord had closed fast all the wombs of the house of Abimelech because of Sarah, Abraham's wife.

Matthew Henry's Commentary on Genesis 20:2-18

Commentary on Genesis 20:1-8

(Read Genesis 20:1-8)

Crooked policy will not prosper: it brings ourselves and others into danger. God gives Abimelech notice of his danger of sin, and his danger of death for his sin. Every wilful sinner is a dead man, but Abimelech pleads ignorance. If our consciences witness, that, however we may have been cheated into a snare, we have not knowingly sinned against God, it will be our rejoicing in the day of evil. It is matter of comfort to those who are honest, that God knows their honesty, and will acknowledge it. It is a great mercy to be hindered from committing sin; of this God must have the glory. But if we have ignorantly done wrong, that will not excuse us, if we knowingly persist in it. He that does wrong, whoever he is, prince or peasant, shall certainly receive for the wrong which he has done, unless he repent, and, if possible, make restitution.

Commentary on Genesis 20:9-13

(Read Genesis 20:9-13)

See here much to blame, even in the father of the faithful. Mark his distrust of God, his undue care about life, his intent to deceive. He also threw temptation in the way of others, caused affliction to them, exposed himself and Sarah to just rebukes, and yet attempted an excuse. These things are written for our warning, not for us to imitate. Even Abraham hath not whereof to glory. He cannot be justified by his works, but must be indebted for justification, to that righteousness which is upon all and unto all them that believe. We must not condemn all as hypocrites who fall into sin, if they do not continue in it. But let the unhumbled and impenitent take heed that they do not sin on, thinking that grace may abound. Abimelech, being warned of God, takes the warning; and being truly afraid of sin and its consequences, he rose early to pursue the directions given him.

Commentary on Genesis 20:14-18

(Read Genesis 20:14-18)

We often trouble ourselves, and even are led into temptation and sin, by groundless suspicions; and find the fear of God where we expected it not. Agreements to deceive generally end in shame and sorrow; and restraints from sin, though by suffering, should be thankfully acknowledged. Though the Lord rebuke, yet he will pardon and deliver his people, and he will give them favour in the sight of those with whom they sojourn; and overrule their infirmities, when they are humbled for them, so that they shall prove useful to themselves and others.