After the Flood God blessed the generation of men, and when this blessing had brought forth an immeasurable host of men, God spoke to Abraham from heaven, ordering him to leave his own land and go to a strange country. He was called, he followed; he was guided and established; from a poor man he became rich; from an obscure man, powerful. Though reduced by his journeyings to the lowest estate, he came to be most high in honor. Yet in order that the previous gifts of God to him should not seem undeserved generosity, he who rejoiced in prosperity was tested in adversity. Then came toil, danger a...nd fear; he was vexed by travelling, worn out by exile, visited with shame, and deprived of his wife. God ordered him to sacrifice his son; the father offered his child, and so far as the resolution of his heart was concerned, performed the sacrifice. Again came periods of exile, again fear, the hatred of the Philistines, the rapine of Abimelech — many evils, yet compensated by equal consolations, for though he was afflicted in many things, yet was he rewarded for them all.
What conclusion are we to draw? In all the events which we have recounted, is not God seen examining Abraham, inviting and leading him, anxious for him, his sponsor, protector, benefactor, testing and exalting him, at once his avenger and his judge? Surely he examined him, for he chose him as the one best man of them all; he invited him, for he called him; he was his guide, leading him through in safety to unknown lands; anxious for him, for he visited him by the oak tree; his sponsor, in promises of things to come; his protector, guarding him among barbarous races; his benefactor, in that he enriched him; his examiner, in that he wished to test him by harsh trials; his exalter, for he made him powerful beyond all men; his avenger, for he avenged him on his adversaries; his judge, for in avenging him he exercised judgment.
What was the reason, he asked, that you wanted to embroil me in such a terrible sin? What on earth did you have in mind in doing it? See how Abimelech shows by his own words the threat delivered against him by God. You see, since God had said to him, "If you do not restore her, death will come upon you and all that is yours," Abimelech interprets this very thing in saying, "What offense did I give you to cause you to bring such a great sin on me and my kingdom?" I mean, surely the extent of the punishment did not stop at me? My whole kingdom was set to be utterly destroyed through the deceptio...n you contrived. "So what did you have in mind in doing it?" Homilies on Genesis
Perhaps it may trouble you for what reason Pharaoh was severely afflicted with torments by almighty God, as we read above, though he too did not know that Sarah, whom he had heard to be a sister, was Abraham's wife, whereas Abimelech received no punishment. But you should know that the king of Egypt was a leader of vices, who, the more licence he had, the more outrage he committed, while Abimelech was esteemed by God so faithful that he deserved to hear: and I knew that you did this with a pure heart, a king not of affliction, as the Egyptian was, but of fortification, as the interpretation of... Gerar, over whose people he ruled, teaches. There is therefore no doubt that the indignation of the Lord was turned back by his other works, since the Lord is truly the judge of the inner conscience and the interpreter of spirit and mind. Then, he did not, like that Pharaoh when approached by Moses, refuse and despise the command of God, nor did he put off his compliance, but at once called Abraham, gave him back his wife, fined himself with a price because he had seen another's wife, and paid the dowry of modesty.