@Lipareeno
The thing about science is we never know what will become of research.
Sure, ten bil would go a long way for say schools and such but we have enough money for that stuff if the senate would allow such bills to be passed. Right now it looks near impossible to even get the age of gun sales to 21.
The idea of scopes on the moon is ongoing, radio telescopes could be made a mile across some mile wide crater for instance but the idea of an optical scope would run into the same problems on the moon as it is showing up on Webb, susceptibility to micrometeors, not that that would stop anyone from doing that but the costs of launching are coming down so maybe that will happen in a few decades.
One thing we know about the moon, there is water there in the form of ice in craters on the north and south pole where they are forever in shadow inside the crater so the heat of the sun cannot melt such ice and that bodes well for the idea of humans living there.
Ice in massive amounts have been sussed out already and that means water for drinking, growing crops and using electrolysis, hydrogen for rocket fuel and oxygen to breathe.
Sometimes we find stuff by accident in science, like the discovery of Teflon, and when silicon was discovered, that is to say the chemical makeup and such was figured out long ago, there was no way to know how much that one mineral could change our civilization when it was key to making computer chips.
IMHO no research is wasted. Who knows, we could figure out worm holes from a scope as powerful as Webb, we never know where research will lead.
That little retroreflector the Apollo guys left on the moon is allowing us to see just how far the moon is going away from Earth, no way to know that till that reflector was dropped on the surface of the moon, we can now measure the distance to the moon within a centimeter and can see the change in distance in real time.
Nobody knew the implications of extremely accurate clocks but now we have clocks so accurate we can detect the changes in time flow from one such clock one meter higher than the other which is direct proof of relativity but who could have predicted such a thing two hundred years ago when the biggest thing we knew about clocks was taught to us by Newton, an accurate clock can be used for navigation. Just reiterating we never know where any research leads.