The person you are replying to agrees that money can get rid of things that cause unhappiness. The point is that removing unhappiness is only part of what creates happiness, and money can’t buy the other part.