allegiance to one's country vs xenophobia

allegiance to one's country

xenophobia

noun
  • A fear of aliens. 

  • A strong antipathy or aversion to strangers or foreigners. 

  • A fear of strangers or foreigners. 

  • A hatred of strangers or foreigners. 

How often have the words allegiance to one's country and xenophobia occurred in a corpus of books? (source: Google Ngram Viewer )