The day to day of the stock market is irrational, but long term investing isn't. If you're putting money in the stock market and not looking out 5+ years, you are simply gambling.
It depends on what those 2-3 companies are. An index is certainly safer, but if you are good at determining growth prospects then you should absolutely be picking your own stocks.