No nation that has sent spacecraft to the moon has, prior to or simultaneously with the project, solved the problems of poverty and inequality, and it's a silly reason to pick on them for making the effort. These science programs are usually helpful in the end.