Why would creating your own index fund with only high quality companies (founder led, high employee/customer satisfaction, etc.) underperform the S&P 500 over the long run?

Why wouldn’t creating your own index fund work?