Lyndon Johnson actually said...
I offer you instead this policy: First, our nuclear power must be great enough that any potential enemy understands and knows that a nuclear attack would be suicide if he tried it.
Context
Remarks on the Steps of the State Capitol, Columbia, South Carolina
10/25/1964