It does not help in containing inflation.
The non-developmental expenses such as on luxury of ministers, frequent foreign visits of ministers etc, do not produce anything, but increase the money supply without any increase in the productivity of goods and services. Hence, the prices will rise, as people have more purchasing power.