One of the first things taught in introductory statistics textbooks is that correlation is not causation. It is also one of the first things forgotten.
The key to successful investing is to have a strong understanding of the fundamentals, a disciplined approach, a clear understanding of the market, and a long-term perspective.