Although in relation to the foreknowledge and decree of God, who is the first cause, all things come to pass immutably and infallibly; so that nothing happens to anyone by chance, or outside his providence, yet by his providence he orders events to occur according to the nature of second causes, either necessarily, freely, or contingently.