Mature stock markets accurately reflect national economy, immature markets do not.
The stock market can show how well the economy is doing, but only if the stock market is mature. A mature stock market can predict the national economy, while an immature one cannot.