Fact 1: measuring the hardness of minerals requires scratching those materials. 
Fact 2: Diamonds are so hard because of the shape of a diamond's structure.
measuring diamonds requires scratching them.