These mandates are powerful. The mandate to defend the nation led to radar and telecommunications, transistors, and many other technologies in use by almost everyone. The mandate to make it to the moon led to a revolution in material science that is now part of every car and phone, it allowed us to map the world and put it in half the world's pocket, and even created a whole new field, systems engineering, that is dedicated to the science of managing gigantic projects spanning thousands of engineers, scientists, manufacturers, and so on. The Human Genome Project, another massive multibillion dollar venture unlocked the human genome to the world for the first time and is directly responsible for much of the biotech boom in the last few decades.
As for "many people don't know that we went to the moon", I'm not so sure that's actually true. Carl Sagan wrote in the Pale Blue Dot in the 90s:
A scientific colleague tells me about a recent trip to the New Guinea highlands where she visited a stone age culture hardly contacted by Western civilization. They were ignorant of wristwatches, soft drinks, and frozen food. But they knew about Apollo 11. They knew that humans had walked on the Moon. They knew the names of Armstrong and Aldrin and Collins. They wanted to know who was visiting the Moon these days.
You're underestimating the biological human desire for exploration - it is a basic evolutionary survival mechanism.