all in all vs in the main

all in all

noun
  • Everything that matters; the only thing of importance. 

adv
  • Generally, all things considered 

  • Altogether 

in the main

prep
  • Principally; on the whole; for the most part. 

How often have the words all in all and in the main occurred in a corpus of books? (source: Google Ngram Viewer )