come by vs inherit

come by

verb
  • To obtain; to get, especially by chance or involuntarily. 

  • To come near to; to pass; to visit. 

intj
  • A command to a sheepdog to move clockwise around the sheep 

inherit

verb
  • To derive from people or conditions previously in force. 

  • To receive (property, a title, etc.), by legal succession or bequest after the previous owner's death. 

  • To derive (existing functionality) from a superclass. 

  • To take possession of as a right (especially in Biblical translations). 

  • To receive a characteristic from one's ancestors by genetic transmission. 

  • To come into an inheritance. 

  • To derive a new class from (a superclass). 

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