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.
(..) Of course. That's the same facile thinking that led you to divert our best peacekeepers into district . You have a habit of burying people before they're dead. If the Mockingjay were gone, the rebels would already be using her as a martyr. No, minister Antonius, (..)2015 The Hunger Games: Mockingjay - Part 2