This quotation from Theodore Roosevelt argues that comparing your work, your life or whatever else will only serve to make you unhappy. Why? Because when you compare yourself to others, you know all the dirty details of your situation or the problems with what you've created, but only the seemingly positive surface information about them or their work.
So don't hold yourself up to some outside vague standard of greatness. Judge your work by your principles and leave comparison out of the equation.