Theodore Roosevelt actually said...
I will accept the nomination for President if it is tendered to me, and I will adhere to this decision until the convention has expressed its preference.
Context
Letter to Republican Governors Declaring Willingness to Accept the Nomination for the Presidency
02/23/1912