I have been alerted by Mark Bellis and Jivan Vatayn that it was Samuel Johnson (1709–1784) (long before George Bernard Shaw) who had said: "Patriotism is the last refuge of a scoundrel." I stand corrected. You may consult
Life of Johnson (Boswell). 1 Vol. v. Chap. ix. 1775.