Do not therefore err, my most beloved brethren, by assuming that the temptations of vices originate from God. Although we know that some, due to the demands of the merits of preceding crimes, have again fallen into other wickednesses by the permission of the just and rigorous judge. Hence is the saying of the Apostle: "And as they did not like to retain God in their knowledge, God gave them over to a reprobate mind, to do those things which are not convenient, being filled with all unrighteousness" (Rom. I).
Source: Commentary on the Catholic Epistles