Inflation is needed and equally important for government its economy. because it encourages people to spend and invest their money rather than holding onto it. When the value of money decreases over time, individuals are more likely to put their money into assets or spend it on goods and services, which stimulates economic growth.
There is no denying that inflation becomes essential for the country's economy to achieve the strategic objectives of a country at particular times. But if it continues for a long time then the economy of that country will be destroyed very easily. Therefore to keep the wheels of the country's economy moving or more dynamic the government sometimes resorts to inflation so that more entrepreneurs can be created.