His biographer messed up the grades, which enforced the belief of him being a bad student. Einstein studied in Switzerland, where the grades work the other way around than in Germany. 6 is best, 1 is the worst. So when Einsteins notes were close to the max, his biographer actually thought they were really bad.