John Kennedy actually said...
Every nation is conscious that there may be a moment when it is isolated and when its national interests are involved.
Context
Partial Transcript of a Background Press Interview at Palm Beach.
12/30/1962