> Getting to the moon was inspirational, but functionally curing even one type of common cancer or ushering in the information revolution a decade or two ahead of schedule would be an order of magnitude more valuable.
This is like, your opinion. Who knows what would have happened, or more importantly what might not have happened if the US didn't focus on getting to the moon. The context of the times is important - at the time it was important to beat the Soviets to space. Curing cancer, while admirable, wouldn't have given the US any sort of advantage over the Soviets.
Maybe ushering the information age in sooner would have been meaningful. But what captures the attention of the 50s/60s American public more - a couple of bits of electricity pushed around abstractly, or the raw power of a rocket heading to the Moon? Which is more effective in showing the Soviets that the US has true hard power - controlling tiny amounts of electricity or demonstrating that they can send a rocket, potentially loaded with missiles, into space?