theirs vs them

theirs

pron
  • That which belongs to them; the possessive case of they, used without a following noun. 

them

pron
  • Used as the object of a preposition. 

  • Used as the direct object of a verb. 

  • Used as the indirect object of a verb. 

det
  • Those. 

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