Only if the value of the dollar remained constant, which it almost surely will not. If the dollar falls faster than prices deflate gold will hold its value. And if the dollar keeps falling that is called 'inflation'. Inflation is not the act of prices rising, it's the act of the dollar falling. If inflation kicks in at some point then gold will be far more expensive in dollars than it is now.