This statement is so general that I feel it doesn’t really say anything.
It’s true that Larry Ellison didn’t become a billionaire by buying and holding index funds. But for people who don’t feel a strong desire to buy their own yacht, index funds can be a very good investment.