Jimmy Carter actually said...
I think that the best way to avoid the danger of a Communist takeover is to maintain a well-functioning democratic regime.
Context
Interview with Pierre Salinger for L'Express of Paris and Free Radio-Television
08/22/1976