Your point is generally false as long as inflation remains at a reasonable level (no hyperinflation). You can chart out stock market index returns versus inflation if you don't believe me.
This is not a criticism of current fed policy with respect to its relatively low inflation targets. While the effects I mentioned still occur, they are vastly outweighed by other concerns at low inflation levels.