If most people in an organisation are not interested in doing their jobs well, then something about the organisation is incorrectly set up. Humans have intrinsic motivation driven by autonomy, mastery, and purpose. If the masses of people don't want to do their jobs well, the organisation has taken too much autonomy, mastery, and purpose away from their employees.
If most people in the organisation are willing to do a good job, but some outliers misbehave, there are, as another commenter mentioned, standard ways to deal with that. (Mentorship, counceling, retraining, warning, firing.)
But critically, the standard ways to deal with struggling individuals should not be applied if there's a large majority struggling, because then the problem is in the organisation, not the individual.