for it vs in a bad way

for it

prep
  • Facing punishment for a misdeed. 

  • In order to attain some implied goal. 

  • Corresponding in volume. 

  • Used other than figuratively or idiomatically: see for, it. 

in a bad way

prep
  • Doing badly; in a state of ill health or misfortune. 

How often have the words for it and in a bad way occurred in a corpus of books? (source: Google Ngram Viewer )