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."
Now Abimelech had not approached her; so he said, "Lord, will you destroy an innocent people?
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."
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.
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."