In Summa Theologica I-II 1 2 repl. 2, Aquinas makes the interesting claim:
To order something toward an end belongs to one who impels himself toward that end.Aquinas' claim here seems to be that if A has a teleological directedness at E, then if B is a cause responsible for A's directedness at E, then B is also directed at E. If this is correct, then the telè of God's creatures must all be goods that God's goodness impels him to. Our ends must be God's ends, and hence we have a metaphysical argument for the benevolence aspect of divine love.
Is Aquinas' thesis true? This sort of thing would be a counterexample: As a computer science class exercise, I am suppose to make a computer program that sorts an array of numbers. I thereby order the program toward the end of sorting the array of numbers, but I am not myself impelled to sorting the numbers—in fact, I don't care about sorting the numbers, because my grade depends on the program, not on the actual sorting. I think Aquinas has to say that the computer program is not really impelled to sorting the numbers. It is, at best, impelled to getting me a good grade. Or maybe Aquinas will simply deny genuine teleology in artifacts.