Genesis 20:6

And God said to him: "And I know that you have acted with a sincere heart. And therefore I kept you from sinning against me, and I did not release you to touch her

Other versions

King James Version

And God said unto him in a dream, Yea, I know that thou didst this in the integrity of thy heart; for I also withheld thee from sinning against me: therefore suffered I thee not to touch her.

English Standard Version

Then God said to him in the dream, "Yes, I know that you have done this in the integrity of your heart, and it was I who kept you from sinning against me. Therefore I did not let you touch her.

New International Version

Then God said to him in the dream, "Yes, I know you did this with a clear conscience, and so I have kept you from sinning against me. That is why I did not let you touch her.