We went to the moon to beat the Russians during the Cold War - an existential threat
Really? How did putting people on the Moon help us defend against the USSR?
The theories included, roughly:
-- the USA clearly can build way awesome rockets that can deliver H-bombs to targets in the USSR with centimeter precision
-- the USA's rocketry, ballistics, computers, and manufacturing capabilities so outclass the USSR that they don't dare mess with us.