if you spend some money one place, you can't spend that money elsewhere as well.
You could argue there's enough money to solve both problems, and a tax on the wealthiest would help accomplish that. that is a view I'm very sympathetic to.
But I think the comment you're responding to is making the first point, rather than the latter.