William Taft actually said...
What I can do in the cause I shall do, not as President of a party, but as President of the whole people.
Context
Address to the National Conservation Congress in St. Paul, Minnesota
09/04/1910