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.
(..) a goddamn sexual tyrannosaurus, just like me. Strap this on your sore ass, Blain. That was in '. Me and Dutch both got one. That's a real nasty habit you got there. Never knew how much I missed this, Dutch. You never were that smart. Hawkins, you're up. The pilots have been shot in the head. (..)1987 Predator