Ralph Alfred Habas said this quote

The confidence essential to effective habit-making comes as a rule from knowledge of previous and related successes.