The parent comment's point is that the money spent on the space program was likely very highly weighted to the first years building that first rocket. So dividing by 10 because it was roughly a decade is probably underestimating the budget needed to get to the moon.