Doesn’t capitalism cause the inflation of prices?

No. Under Capitalism, the prices of particular goods can “fluctuate” over time, but the general price level of most goods decrease over time due to capitalism’s limitless progress.