give a bed to vs put a roof over someone's head

give a bed to

put a roof over someone's head

How often have the words give a bed to and put a roof over someone's head occurred in a corpus of books? (source: Google Ngram Viewer )