act foolishly vs misconduct oneself

act foolishly

misconduct oneself

How often have the words act foolishly and misconduct oneself occurred in a corpus of books? (source: Google Ngram Viewer )