Yes, good, you're getting there. Now... put them together...
Inflation is driven by consumers having more money. This means that more can be charged for the same products and the consumers will begrudgingly pay. This means more will be charged.
This is why giving ~50% of US net-taxpayers free cash caused inflation to spike.