That's a tougher one, but maybe the universe has such an intent also. Take the principle of least action. It seems like systems take the path from A -> C that's shortest in total even if the chosen A -> B and B -> C are both longer than alternatives.
Maybe there is even a sense of "thinking" ahead to understand which path will be shorter before making the choice.
Maybe there is even a sense of "thinking" ahead to understand which path will be shorter before making the choice.