be detrimental to vs expose to danger

be detrimental to

expose to danger

How often have the words be detrimental to and expose to danger occurred in a corpus of books? (source: Google Ngram Viewer )