By "solve problems" you mean "temporarily mitigate problems by throwing money at them", right? Or do you actually have specific examples of problems that can be permanently solved and aren't already being tackled?
Fusion research has had less than than tenth of this investment, but a viable fusion reactor would have far more impact than a tenth of what Stargate will likely deliver.
Not to mention efforts for mitigating climate change and ecological collapse. But of course those issues reside outside our economic system, so why would anyone invest in them.
By "solve problems" you mean "temporarily mitigate problems by throwing money at them", right? Or do you actually have specific examples of problems that can be permanently solved and aren't already being tackled?