Stephen R. Covey said this quote

Habit is the intersection of knowledge (what to do), skill (how to do), and desire (want to do).