Agreed. The argument the person you're responding to should be making is 'Tightening monetary policy will bring down inflation but may cause severe negative side effects if the original cause of that inflation isn't monetary.'

That's something that's interesting to debate. Especially given recent experience on the opposite side when loosened COVID monetary supply in response to supply limitation boomeranged into inflation by turbocharging demand.

Ultimately though, tighter monetary policy will (full stop, no if's) act as a brake on inflation, explicitly because it will reduce aggregate demand. Less money to chase goods => some demanders stop trying => lower prices.

That 'demanders stopping' is often also an economic slowdown is a different issue.