Sending humans to the moon is just burning money though. It isn't useful at all.
These days? The space race was 50 years ago.
The first time around, the space race was expensive, but not entirely unnecessary. There were real strategic advantages at play.