The presidency is more than a popularity contest.