Genesis 20:6-7 (YLT)
6 And God saith unto him in the dream, ‘Yea, I--I have known that in the integrity of thy heart thou hast done this, and I withhold thee, even I, from sinning against Me, therefore I have not suffered thee to come against her;
7 and now send back the man's wife, for he is inspired, and he doth pray for thee, and live thou; and if thou do not send back, know that dying thou dost die, thou, and all that thou hast.'
About Genesis 20: Genesis 20 takes place in Gerar, a town between Canaan and the sea. Abraham is staying there as a stranger when he repeats an old mistake about his wife Sarah (verses 1-2). This echoes the story in Genesis 12, where fear led him to hide her safety. Abimelech, the local king, takes Sarah into his house because he does not know she is married (verse 3). God intervenes quickly with a dream, stopping the king before any sin happens (verses 4-6). The text notes that Abimelech acted in integrity of heart, meaning he had no bad intent, yet God still held him back to protect His covenant people. Read the study notes
2 verses · Compare in parallel · Read all of Genesis 20