Theodore Roosevelt actually said...
It is not a matter of credit to be honest, any more than it is a matter of credit to a soldier to be brave.
Context
Remarks at the Banquet of the New York Press Club in New York City
02/12/1905