Theodore Roosevelt actually said...
Exactly as in time of war courage is the cardinal virtue of the soldier, so in time of peace, honesty, using the word in its deepest and broadest significance, is the essential basic virtue, without which all else avails nothing.
Context
Remarks in Gettysburg, Pennsylvania
05/29/1904