Immanuel Kant said this quote

...[H]uman reason in its pure use, so long as it was not critically examined, has first tried all possible wrong ways before it succeeded in finding the one true way.