Well, by definition indices should be less risky than individual stocks because they are diversified (i.e. holding a basket of stocks), however, dig deeper in the index you are looking at and you will find wonders.
For example, the S&P500 top 5 holdings are Apple, Microsoft, Amazon, Facebook &...