Theodore Roosevelt actually said...
When a man is President, when he holds any public office, questions of merely partisan character sink into absolute insignificance compared with the mighty questions upon which all good Americans are united.
Context
Remarks at a Luncheon in New Orleans, Louisiana
10/25/1905