hold the line vs stick by one's guns

hold the line

verb
  • To firmly maintain one's viewpoint, principles, or situation; to refuse to change one's practices or plans. 

stick by one's guns

How often have the words hold the line and stick by one's guns occurred in a corpus of books? (source: Google Ngram Viewer )