And as for his saying: My eye will not spare you, and I will not have mercy, like a most merciful physician who wishes to cut away rotten flesh and to burn out decayed wounds with the cautery, he does not spare so that he may spare, he does not have mercy so that he may have mercy the more, lest anything rotten remain in the body that would corrupt the living flesh by its nearness. But the Lord strikes the one whom he loves, and chastises every son whom he receives; to this understanding belongs that saying: I will strike and I will heal, for every medicine has bitterness for a time, but after...wards the fruit of the pain is shown in health; something of this kind God speaks through Amos: Since I have known you out of all the tribes of the earth, therefore I will avenge upon you all your sins; for the Lord knows those who are his. 'And her ways', he says, 'and the course of her whole life, and her abominations and stains I will set in her midst', so that the former sins may be set before the eyes of the sinful woman, who is punished for her healing; and when the Lord has done this, those who have been tormented will know that he himself is the Lord. That testimony too sounds this very thing: I will avenge Jacob according to his ways, and according to his devices I will repay him.
Source: Commentary on Ezekiel