John Calvin writes:
“But Ambrose, Origen, and Jerome, were of opinion, that God dispenses his grace among men according to the use which he foresees that each will make of it. It may be added, that Augustine also was for some time of this opinion; but after he had made greater progress in the knowledge of Scripture, he not only retracted it as evidently false, but powerfully confuted it (Augustine Retract. lib. 1, c. 13). No, even after the retractation, glancing at the Pelagians who still persisted in that error, he says, ‘Who does not wonder that the Apostle failed to make this most acute observation? For after stating a most startling proposition concerning those who were not yet born, and afterwards putting the question to himself by way of objection, ‘What then? Is there unrighteousness with God?’ he had an opportunity of answering, that God foresaw the merits of both, he does not say so, but has recourse to the justice and mercy of God,’ (Augustine Epist. 106, ad Sixtum)” (John Calvin, Institutes, 3.22.8).
Calvin stating that Ambrose, Origin, Jerome, and Augustine believed (some at least for a time) in election according to works.
“So then, also in the present time a remnant according to election of grace has come into being. But if by grace, no longer [is it] of works; else grace no longer becomes grace. But if of works, it is no longer grace; else work is no longer work” (Romans 11:5-6).