John Kennedy actually said...
Private investment goes where there is a return on capital, which may or may not serve the particular national need of the time.
Context
Remarks to a Group of Student Leaders From Brazil
07/29/1963