A typical mathematician does not actively try to be useful. Individual mathematicians are motivated primarily by a subtle mixture of ambition and intellectual curiosity, and not by a wish to benefit society, nevertheless, mathematics as a whole does benefit society.
Quote by Timothy Gowers, British mathematician (1963), about ambition, intellectual and curiosity. One of 8 Timothy Gowers quotes on Quotlr.