Again, for someone "in the know" you simply need to read JFK's own words and not yours:
https://www.jfklibrary.org/events-and-awards/forums/past-for...
"We are losing the satellite missile race with the Soviet Union," he noted, "because of complacent miscalculations, penny-pinching budget cutbacks, incredibly confused mismanagement and wasteful rivalries and jealousies." Once in office, when it was revealed that there was no gap and that, if anything, the US was ahead, he and his military advisors still had to deal with this issue.
I thought it might be interesting and fun at the outset to hear directly from President Kennedy as he discusses the missile gap with Secretary McNamara and others in a secretly recorded taped conversation in the Oval Office. The first voice you'll hear is Robert McNamara, followed by the President. We'll put a transcript on the screen to help you follow along.
McNamara: There was created a myth in the country that did great harm to the nation. It was created by, I would say, emotionally guided but nonetheless patriotic individuals in the Pentagon. There are still people of that kind in the Pentagon. I wouldn't give them any foundation for creating another myth.
JFK: [inaudible] that missile gap, as ones of those who put that myth around, a patriotic and misguided man [laughter]
Hmm.....