Space exploration is merely a _technological_ problem. Solving poverty is a _political_ problem, one that is resistant to just throwing money at the problem.
Both problems are technological as well as financial problems, with politics involved in choice of precedence.
Both problems are technological as well as financial problems, with politics involved in choice of precedence.