Mediocrity to excess is glory.
It means that even things that are meaningless, or even negative, when done to such levels can be the quality of some kind of pride. Like being the most detainee guy at your school, or building detailed working sculptures out of millions of toothpicks, or reproducing the Mona Lisa on an Etch-a-Sketch or even staying a virgin for over a hundred years.