Charles Duhigg said this quote

All our life, so far as it has definite form, is but a mass of habits - practical, emotional, and intellectual - systematically organized for our weal or woe, and bearing us irresistibly toward our destiny, whatever the latter may be. - William James