Charles Duhigg said this quote

If you believe you can change—if you make it a habit—the change becomes real. This is the real power of habit: the insight that your habits are what you choose them to be. Once that choice occurs—and becomes automatic—it’s not only real, it starts to seem inevitable.