Bertrand Russell said this quote

The skill of the politician consists in guessing what people can be brought to think advantageous to themselves; the skill of the experts consists in calculating what really is advantageous, provided people can be brought to think so. (The proviso is essential, because measures which arouse serious resentment are seldom advantageous, whatever merits they may have otherwise.) The power of the politician, in a democracy, depends upon his adopting the opinions which seem right to the average man. It is useless to urge that politicians ought to be high-minded enough to advocate what enlightened opinion considers good, because if they do they are swept aside for others.