Of God and His Creatures

The final end which the work is intended to achieve directs the progress of the work, as the principal agent also directs it. The final end first exists as an idea in the mind of the principal agent: this idea guides the execution; and is realised last thing of all, when the work is done.

Of God and His Creatures: 2.21