Of course companies should only hire qualified people. Diversity is about gaining new perspectives and ensuring you're creating an environment _all_ your employees can enjoy and feel comfortable in.
Companies, rightly, don't want to stagnate by being limited to perspectives and views that don't fully reflect the world they operate in.