You posted this: “According to Aquinas: The effect of divine providence is not only that things should happen somehow, but that they should happen either by necessity or by contingency. Therefore:”
[a] "whatsoever divine providence ordains to happen infallibly
and of necessity, happens infallibly and of necessity; and"
[b] [what] "… happens from contingency, which the divine
providence conceives to happen from contingency."
Fortunately for me, you summarized your thought with: “So according to Catholic doctrine, events that we perceive as random certainly do not necessarily appear so to God.” And I agree with you 100%!
But as a favor to me, and maybe a few other readers, are you able to explain how the Aquinas quote means the same thing? I found myself completely unable to reach any useful conclusion from that quote.