Jimmy Carter actually said...
The United States can take whatever actions are necessary to make sure the canal remains open and safe.
Context
Panama Canal Treaties Remarks on Senate Ratification of the Neutrality Treaty
03/15/1978