You don't need to always purchase what you might need so that you don't get hit by the inflation. Better to invest and keep the money flowing. If you have money that you won't need, invest in bitcoin or other well known crypto currencies.
Today, to avoid inflation, we should all have an investment and a savings account. In my opinion, even though currency devaluation is happening on a daily basis, it is still best to save in fiat because life is not always what we expect. Also, it is not recommended to invest all the excess money in bitcoin or cryptocurrency, it is not safe because the volatility of the cryptocurrency is too great. Sometimes need money but we are in bear market like now, bitcoin value drops to 60% then we can hardly sell. Everyone should have an investment for life as well as future but always diversify, invest in bitcoin and invest in gold for financial balance.