It’s not strictly “important” to avoid single stocks, but mutual funds (or index funds) are often recommended because they reduce risk through diversification. Instead of relying on one company’s performance, your money is spread across many stocks, so losses in one are balanced by gains in others.