Confucius said this quote

Success depends upon previous preparation, and without such preparation there is sure to be failure.