I would add some clarifying quantifiers to your statement as not all rich people are rich because of markets knowledge. Inheritance of wealth is also an important contributor.
The greatest predictor of wealth is your family background, not your knowledge/interest of the stock market: