Sometimes this is true. But sometimes the limiting factor really is the student.
In my own experience I've seen fellow students put in less than half the effort I did (I watched them copy homework assignments in groups 30 minutes before class, spend a lot of time trying to track down last years exams, etc etc), and then have the nerve to complain afterwards that the exams were too hard.