Theodore Roosevelt actually said...
No man is worth his salt in public life who makes on the stump a pledge which he does not keep after election; and, if he makes such a pledge and does not keep it, hunt him out of public life.
Context
Remarks in Osawatomie, Kansas: The New Nationalism
08/30/1910