Victor Hugo said this quote

He who every morning plans the transactions of the day and follows out that plan carries a thread that will guide him through the labyrinth of the most busy life. ... If the disposal of time is surrendered merely to the chance of incident chaos will soon reign.