John Kennedy actually said...
Our big problem would be to contain Castro, to prevent him spreading his influence throughout all of Latin America.
Context
Television Program of Senator John F. Kennedy, Manchester, NH
11/06/1960