For what is impossible in itself is much more impossible than that which is only impossible accidentally. But God can do what is impossible in itself, as to give sight to the blind, or to raise the dead. Therefore, and much more can He do what is only impossible accidentally.
 Thomas Aquinas, Summa Theologica (1274). copy citation

add
Author Thomas Aquinas
Source Summa Theologica
Topic God sight
Date 1274
Language English
Reference
Note Translated by Fathers of the English Dominican Province
Weblink http://www.gutenberg.org/cache/epub/17611/pg17611-images.html

Context

“So it is clear that the omnipotence of God does not take away from things their impossibility and necessity. _______________________
FOURTH ARTICLE [I, Q. 25, Art. 4]
Whether God Can Make the Past Not to Have Been?
Objection 1: It seems that God can make the past not to have been. For what is impossible in itself is much more impossible than that which is only impossible accidentally. But God can do what is impossible in itself, as to give sight to the blind, or to raise the dead. Therefore, and much more can He do what is only impossible accidentally. Now for the past not to have been is impossible accidentally: thus for Socrates not to be running is accidentally impossible, from the fact that his running is a thing of the past. Therefore God can make the past not to have been.
source