The problem isn't just government spending. Private banks that expand the money supply can cause inflation.
A big problem that we face is that there is often a delay between inflationary acts and the realization of the inflation.
This lets politicians and bankers project the problem on inflation onto other actors. For example politicians and bankers routinely blame rising wages are the cause of inflation. This claim is clearly a lie as wages have not been keeping with rises in productivity.