Things have a nasty 'habit of not turning out' the way you expect them to. [=things often do not turn out the way you expect them to]
He reached into his pocket for his keys 'by/from force of habit'. [=he did it without thinking because it is what he usually does]
I'm 'not in the habit of' making predictions, but I don't think there's much doubt about who will win this election.
(..) So, this is how it ends. Normally I'd chalk this up to my last glorious failure. But not today! What can I say? Old habits die hard. Say bye, bye Roxie. Ollo. Thing about bad guys, they always LOOSE! Ohhhh. (..)2010 Megamind