Ronald Reagan actually said...
When you're up to your neck in alligators, it's hard to remember your original purpose was to drain the swamp.
Context
Toasts at the State Dinner for President Jose Sarney Costa of Brazil
09/09/1986